Integrate Kafka and MQTT - How to connect MQTT and Kafka |
![]() |
MQTT and Kafka can be integrated. I will show 5 different options on how to connect MQTT & Kafka. We will implement 2 of these options together.
You can follow along this video in written form on medium.com: https://medium.com/python-point/mqtt-and-kafka-8e470eff606b The code can be found on GitHub: https://github.com/code-and-dogs/mqtt-python If you want to know more about MQTT, follow my MQTT beginners guide here: https://www.youtube.com/watch?v=kuyCd53AOtg&t=183s If you want to learn about Kafka, have a look at my usecase with a real-time maps scenario here: https://www.youtube.com/playlist?list=PL2UmzTIzxgL7Bq-mW--vtsM2YFF9GqhVB The mentioned blog of Kai Waehner can be found here. It is wonderful. https://www.kai-waehner.de/blog/2018/09/10/apache-kafka-mqtt-end-to-end-iot-integration-demo-scripts-github/ |