Message Queues
This chapter covers message ingestion from Kafka, Apache Pulsar, Tuya Pulsar, MQTT, and Sparkplug B. Starting positions and recovery mechanisms differ by source. Select the page for the source rather than sharing one set of consumer settings. Publishing to Kafka or MQTT is not configured in this chapter.
Navigation: taosExplorer → Data In → select the connector for the source.
Message ingestion reads messages from a Broker, parses them according to their format, and writes them to TDengine. A Broker is a messaging service, not taosX-Agent. When an Agent is selected, its host performs the reads; otherwise, the taosX host performs them.
| Source | Start here | Confirm before creating a task |
|---|---|---|
| Kafka | Kafka | Brokers, topics, a dedicated consumer group, existing consumer positions, and authentication. |
| Apache Pulsar | Pulsar | Fully qualified topic names, subscription, initial position, and authentication. |
| Tuya Pulsar | Tuya ingestion | Platform address, Access Id, Access Key, and environment. Do not reuse Apache Pulsar credentials. |
| MQTT | MQTT | Unique client ID, topics, QoS, session, and certificates. |
| Sparkplug B | Sparkplug B | Group, nodes/devices, message types, and Birth/alias mappings. |
Start with one test object to confirm parsing, target tables, timestamps, and values before expanding the topic or partition scope. Kafka consumer groups, Pulsar subscriptions, and MQTT sessions have different recovery mechanisms. Do not apply one connector's starting position, acknowledgment, or backfill behavior to another source. Publishing to Kafka/MQTT runs in the opposite direction to the reads in this section and is not configured here.