Broadway.start_link(MyBroadway, name: MyBroadway, producers: [ default: [ module: {OffBroadway.MQTT.Producer, topic: "my/topic", qos: 0, connection: [ host: "localhost", port: 1883 ]}, stages: 2 ] ], processors: [ default: [] ] )
Abstraction for a MQTT topic. All incoming messages from the broker are enqueued. They are dequeued when there is a demand from consumers.