EMQX integrates natively with Apache Kafka, allowing organizations to bridge the gap between IoT device messaging and stream processing. This integration is commonly used in smart manufacturing, connected vehicles, and large-scale telemetry systems.
IoT Devices → MQTT → EMQX → Rule Engine → Kafka → Consumers
↓
(Analytics, Storage, ML)
Data Flow:
The integration is configured through EMQX's SQL-based Rule Engine:
SELECT
payload.temperature as temp,
payload.humidity as humidity,
clientid as device_id
FROM
"factory/sensors/+"
WHERE
payload.temperature > 50
Then add a Kafka action to publish matching messages to a topic.
Advantages:
Considerations:
For simpler use cases, consider: