Broker forwarding
Forward MQTT messages from FairCom MQ to another messaging system, such as MQTT Brokers, AMQP Brokers, Kafka, AWS IoT Core, Microsoft Azure IoT Hub, and IBM MQ
You can chain FairCom MQ to other messaging systems by forwarding MQTT messages to them. This is called broker forwarding. This is a great way to move information across data centers. FairCom MQ or FairCom Edge in one site, such as a factory, forwards messages to other messaging systems in other sites, such as another factory or the cloud.
You can chain FairCom MQ to other messaging systems by forwarding MQTT messages to them. This is called broker forwarding. This is a great way to move information across data centers. FairCom MQ or FairCom Edge in one site, such as a factory, forwards messages to other messaging systems in other sites, such as another factory or the cloud.
FairCom MQ can forward MQTT messages to any messaging system that supports incoming MQTT messages. This includes MQTT brokers, AMQP brokers, Kafka, AWS IoT Core, Microsoft Azure IoT Hub, IBM MQ, and so forth. Most messaging systems support MQTT.
Tip
MQTT forwarding is one of the best ways to move data to and from the cloud. All major cloud providers provide MQTT brokers in the cloud that can receive and send MQTT messages, such as AWS IoT Core and Microsoft Azure IoT. Once an MQTT message has been received by an MQTT broker in the cloud, the cloud broker can distribute that data to a wide variety of cloud services for machine learning and data analysis, and it can send MQTT messages back to FairCom MQ running on the edge.
Set up MQTT forwarding in FairCom MQ
To set up MQTT forwarding in FairCom MQ, create a broker connection and configure one or more MQTT topics to be forwarded to that connection.
Use the
"configureBrokerConnection"
action in the JSON MQ API to create and save a broker connection that you can reuse.Use the
"configureTopic"
action in the JSON MQ API to forward messages from one topic on FairCom MQ to the same or different topic on another broker.
FairCom provides several tutorials showing how to configure MQTT forwarding.