Difference between MQTT and Apache- kafka

0 votes
. I was going through technology needed and found MQTT & Apache Kafta. To me both seem to be doing the same thing.

I've heard that MQTT is fit for mobiles as it is very lightweight? So basically what is the difference between these two and what is the advantage of each?
Aug 31, 2018 in IoT (Internet of Things) by Annie97
• 2,200 points
662 views

1 answer to this question.

0 votes
MQTT is a standard protocol (with many implementations). Kafka (which is also a protocol) is normally used by downloading it from the Apache website or e.g. a Confluent Docker image. Both exist for very different reasons.

It is like comparing apples and oranges,

Most use cases I see in IoT environments combine both MQTT and Apache Kafka. The edge devices speak MQTT protocol (for the benefits it has in edge environments. These are then forwarded to Apache Kafka to get the events into the rest of the enterprise architecture.

You can do this either via an MQTT Broker like HiveMQ + Apache Kafka or via an MQTT Proxy (so that you don't need the MQTT Broker). Both options have their own advantages.
answered Aug 31, 2018 by Upasana
• 8,590 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Difference between IoTivity and AllJoyn?

Architecturally, IoTivity had four fundametal units: Discovery, ...READ MORE

answered Sep 5, 2018 in IoT (Internet of Things) by DataKing99
• 8,130 points
297 views
0 votes
1 answer

Difference between particle.publish event and particle.subscribe event in particle.cloud

Particle.publish() Publish an event through the Particle Cloud ...READ MORE

answered Sep 17, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
430 views
0 votes
1 answer

Communication between Apache NiFi and iOT sensors

Your use case sounds like the kind ...READ MORE

answered Oct 8, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
466 views
0 votes
1 answer

How do I compare MQTT and TCP packets ?

It depends on the higher-level protocols (above ...READ MORE

answered Aug 27, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
89 views
0 votes
1 answer

Integrating Arduino to Apache Kafka

If you are using Arduino Yun to build your IoT application(s), ...READ MORE

answered Sep 27, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
1,147 views
0 votes
1 answer

MQTT protocol connection error

Ok so you need two libraries to ...READ MORE

answered Jul 6, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points

reshown Jul 6, 2018 by Vardhan 860 views
0 votes
1 answer

Mosquitto 1.4.2 Websocket support

down vote In the dir mosquitto-1.4.X edit the ...READ MORE

answered Jul 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
221 views
0 votes
1 answer

IoT request response protocol

Based on your requirement of a light ...READ MORE

answered Jul 13, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
491 views
0 votes
1 answer

comparision between OPC UA protocol and MQTT protocol

This is the first time I'm seeing ...READ MORE

answered Sep 4, 2018 in IoT (Internet of Things) by Upasana
• 8,590 points
1,954 views
0 votes
1 answer

When to use MQTT and when to use REST for event submission?

MQTT is designed to be a fast ...READ MORE

answered Sep 14, 2018 in IoT (Internet of Things) by Upasana
• 8,590 points
261 views