Domain events

Thingstream can provide programatic notification of events that happen within your domain. This can be useful for maintaining an audit history, as well as integrating with other external systems to preserve a common view of state.

System event notification must be enabled for your domain. To do this, select Settings->Domain Settings from the sidebar in the Thingstream management console, and then check the box for "Enable event topics".




Domain event types

Once enabled, Thingstream will publish system events to a number of MQTT topics. To receive notification of these events, you simply need to subscribe to the topic(s) that you are interested in. The list of event topics and their JSON data payloads is shown in the table below:

Domain events and data formats