This article will introduce several popular IoT protocols such as MQTT, CoAP, and LwM2M to help you pick the appropriate protocol for your project.
The MQTT protocol communicates by exchanging predefined MQTT control packets. We will take MQTTX as an example to show how to implement the publish and subscribe function through MQTT packets.
MQTT is completely different from Kafka. MQTT is a protocol and a technical standard developed by members (mostly are top engineers at IBM and Microsoft) of the OASIS Technical Committee. Kafka is an open source streaming platform that has been implemented. It was firstly developed by LinkedIn. After incubated by Apache Incubator in 2011 after opening source, it has became the top project of the Apache Software Foundation.