MQTT Source

MQTT Source () reads streaming data from an MQTT message queue.
It is typically used for ingesting real-time data from IoT devices, sensors, or event-driven systems that publish messages using the MQTT protocol.

The source continuously subscribes to a specified MQTT topic and emits incoming messages as streaming records.

Parameters of MQTT Source

Supported Engines

Map
Reduce
Spark 1.x
RDD
Spark 2.x
RDD
Spark 2.x
Dataset
Apache Beam
2.29.0 Batch
Apache Beam
2.29.0 Streaming
Apache Flink
1.12.0 Batch
Apache Flink
1.12.0 Streaming
Apache Tez
0.9.1