Pub/Sub
The Pub/Sub integration allows the Application Server to publish and subscribe to topics, using The Things Stack built-in MQTT client or NATS client.
Warning:
This feature has been removed for Cloud deployments!MQTT Client
This section explains how to configure a Pub/Sub integration using the built-in MQTT client.
NATS Client
This section explains how to configure a Pub/Sub integration using the built-in NATS client.
Message Types
The Application Server can be configured to publish messages for any of the following events:
Downlink ack Downlink failed Downlink nack Downlink queued Downlink sent Join accept Location solved Service data Uplink message The Application Server can be configured to subscribe to messages to schedule the following events:
Downlink queue push Downlink queue replace JSON messages sent or received by the Application Server are defined in Data Formats.
Enabling event messaging also allows you to manually configure a Sub topic for that event. If no Sub topic is specified, events will be published to the configured Base topic.