Data Streaming
Data Streaming sends what your project’s devices report to two Kafka topics that only your project can read. Use it to keep your own database in step, run analytics, or react to events, without polling IoT Core.
| Topic | What arrives | Kept |
|---|---|---|
<…>.state |
A device’s state, each time it reports a change | The latest message of each device, for good |
<…>.evt |
Something an app user did: added a device, changed a home, ran a scene | A limited time |
The exact topic names are shown in the dashboard, in the project’s Cloud Services → Data Streaming Services.
How it works
Section titled “How it works”Device → MQTT → Thing Edges → Kafka topic of your project → your consumer- Messages of one device always arrive in order, because each
.statemessage is keyed by the device id. - Delivery is at least once: a message can arrive twice. Apply it by device and time, so a repeat changes nothing.
- A device that reports no change sends no message. Do not read silence as offline.
- Connecting: address, credentials, groups, examples.
- State messages: every field.
- Event messages: every event type.