Messaging (inbound)
Information Router supports multiple inbound channels and protocols for messages. The following protocols are supported: - REST - MQTT - Kafka - AMQP 1.0
MQTT
MQTT is a lightweight messaging protocol designed for low-bandwidth, high-latency networks. It is ideal for IoT devices and applications that require real-time communication.
In order to use MQTT with Information Router, you need to configure the MQTT broker and set up the necessary parameters in the HELM configuration. The following sections will guide you through the process of configuring MQTT in Information Router.
Helm Parameter |
Required Value |
Description |
|---|---|---|
connectivity.local.mqtt.enabled |
"true" |
Enables the entire MQTT feature |
connectivity.local.mqtt.hostname |
<FQDN> |
The hostname of the MQTT broker. This can be a DNS name or an IP address. |
connectivity.local.mqtt.port |
<port number> |
The port number on which the MQTT broker is listening. |
connectivity.local.mqtt.username |
<username> |
The username for authenticating with the MQTT broker. |
connectivity.local.mqtt.password |
<password> |
The password for authenticating with the MQTT broker. |
connectivity.local.mqtt.sslEnabled |
"true"/"false" |
Determines if the connection to the MQTT broker should be encrypted. |
connectivity.local.mqtt.sslVersion |
"Tls12"/"Tls13" |
Determines the SSL version to be used for the connection. |
connectivity.local.mqtt.oppRequestTopic |
<inbound topic name> |
The topic name for incoming messages. This is the topic to which the Information Router will subscribe to receive messages (e.g. "{TenantId}/opp/v09"). |
connectivity.local.mqtt.oppResponseTopic |
<response topic name> |
The topic name for outgoing messages. This is the topic to which the Information Router will publish messages (e.g. "{TenantId}/opp/v09/response"). |
connectivity.local.mqtt.oppSendResponse |
"true" |
Enables sending of responses to the MQTT broker. |
connectivity.local.mqtt.oppSendErrorResponse |
"true" |
Enables sending of error responses to the MQTT broker. |
connectivity.deployments.connectivity-service.env.MqttSettingsChannelsOppMlSubQueueAlias |
<inbound topic name> |
Same value as connectivity.local.mqtt.oppRequestTopic. This is used for the subscription queue name. |