MQTT IRIS Broker
Hi Guys,
I'm looking to setup an MQTT adapter that also acts as broker to connect directly to an MQTT clients, is there an IRIS adapter or client that can be used as Broker as well?
Thanks
Comments
InterSystems IRIS includes support for MQTT through built-in adapters for message processing, which can act as both inbound and outbound adapters. However, InterSystems IRIS itself does not natively include an MQTT broker. Below are the details about how IRIS handles MQTT connections:
MQTT Adapters:
- The
EnsLib.MQTT.Adapter.Inboundadapter allows subscribing to topics and receiving MQTT messages. - The
EnsLib.MQTT.Adapter.Outboundadapter allows publishing messages to MQTT topics. - These adapters can be used to build interoperability productions to handle MQTT messages effectively. This includes creating and subscribing to topics, custom business services, and operations to process the messages [1][2].
- The
IRIS-integrated MQTT Broker:
- While IRIS itself is not an MQTT broker, a few IRIS-integrated MQTT broker solutions are available, like
IRIS MQTT for ManufacturingandIRIS MQTT for Health. These solutions provide an integrated broker functionality directly managed within the IRIS platform, removing the need for middleware [3][4].
- While IRIS itself is not an MQTT broker, a few IRIS-integrated MQTT broker solutions are available, like
Working with IRIS MQTT Adapters:
Broker Setup:
Using the MQTT Adapters:
- InterSystems provides tools to define the connection details (e.g., broker's URL, credentials, topics) and manage message flow between devices and IRIS components [7].
If your goal is to integrate with an existing broker, or connect clients directly to IRIS over MQTT intermediates, additional configurations or external intermediary brokers might be required based on your use case.
Sources: