Skip to main content

Message Queues

info

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.

SourceStart hereConfirm before creating a task
KafkaKafkaBrokers, topics, a dedicated consumer group, existing consumer positions, and authentication.
Apache PulsarPulsarFully qualified topic names, subscription, initial position, and authentication.
Tuya PulsarTuya ingestionPlatform address, Access Id, Access Key, and environment. Do not reuse Apache Pulsar credentials.
MQTTMQTTUnique client ID, topics, QoS, session, and certificates.
Sparkplug BSparkplug BGroup, nodes/devices, message types, and Birth/alias mappings.
tip

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.