Skip to main content
Version: Next

Output: mqtt

Consume events from a NSQ topic

Field Summary

Field NameTypeDescriptionDefault
addressstringThe IP address of a MQTT broker-
portintegerThe port of a MQTT broker-
topicstringThe MQTT topic to publish to-
broker-modeboolDo not connect to an external MQTT server, instead run as a MQTT brokerfalse
qosintegerThe QOS level for this topic (0,1,2)0

Fields

address

Type: string

The IP address of a MQTT broker

port

Type: integer

The port of a MQTT broker

topic

Type: string

The MQTT topic to publish to

broker-mode

Type: bool

Default: false

Do not connect to an external MQTT server, instead run as a MQTT broker

qos

Type: integer

Default: 0
Possible Values: 0, 1, 2

The QOS level for this topic (0,1,2)