Generic MQTT authentication

The Generic MQTT authentication type provides a generic MQTT client where most of the connection parameters can be configured using the Configuration file. This is the recommended authentication type for most MQTT brokers.

Consuming data

To receive events from your gateways, you need to subscribe to its MQTT topic(s). For debugging, you can use a (command-line) tool like mosquitto_sub which is part of the Mosquitto MQTT broker.

Use + for a single-level wildcard, # for a multi-level wildcard. Examples:

# show data from all gateways 
mosquitto_sub -t "gateway/#" -v

# show all data for the given gateway
mosquitto_sub -t "gateway/0101010101010101/+" -v