---
title: "Comment by Ivan Tang on \"The basics you need to know about Kafka [Graphic Explanation Ahead 🖥️]\" | Hashnode"
description: "My 2 cents: Kafka topics are not like queues. You can only have one consumer/subscriber for a message queue, i.e. a message from a queue goes to one and ONLY on"
url: "https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598"
---

[Discussion](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69)

Comment [The basics you need to know about Kafka \[Graphic Explanation Ahead 🖥️\]](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69)

[Ivan Tang](https://hashnode.com/@hiimivantang)

[May 15, 2021](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598)

My 2 cents: Kafka topics are not like queues.

You can only have one consumer/subscriber for a message queue, i.e. a message from a queue goes to one and ONLY one subscriber!

[Pankaj Tanwar](https://hashnode.com/@pankajtanwar)

[May 15, 2021](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598#reply-609fe98215f9347ff3d8e17a)

Thanks for your comment. Yes, obviously Kafka topics are not exactly like queues. It was just used as an analogy for reader to understand. I have clearly mentioned that Kafka does not uses queue. It uses log data structure, a persistent data structure which only supports inserts. There are a lot technical stuff on the top of it, it's very complex architecture to deliver super fast event streaming. Zookeeper plays a very important role in this to deliver messages to the consumer. It's a vast topic & really interesting architecture behind it which can be discussed saparately.

[Ivan Tang](https://hashnode.com/@hiimivantang)

[May 15, 2021](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598#reply-609ff3b6a46b027fced54918)

[Pankaj Tanwar](https://hashnode.com/@pankajtanwar), all good my friend. Totally understand that you were trying to use an analogy but readers might be misled.

Active Controller (one of your brokers), not ZooKeeper, decides who is the replica leader and who is the follower.

[Ivan Tang](https://hashnode.com/@hiimivantang)

[May 15, 2021](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598#reply-609ff42a15f9347ff3d8e276)

[Pankaj Tanwar](https://hashnode.com/@pankajtanwar), and also ZooKeeper DOES NOT send any messages to the consumer. Consumer fetches from partition leader!

[Ivan Tang](https://hashnode.com/@hiimivantang)

[May 15, 2021](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598#reply-609ff4bea46b027fced54924)

I'm sorry but there is just too much misinformation for me to ignore!

[Pankaj Tanwar](https://hashnode.com/@pankajtanwar)

[May 17, 2021](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598#reply-60a2126423723215ec2fe894)

Thanks for your suggestion. I'm sorry if you felt that way. I explained in the best way possible. I will improve it further, if needed.

[RITU RAJ](https://hashnode.com/@rrraj001)

[Jun 27, 2021](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598#reply-60d7c4dfcb0aa8118c23be6c)

[Pankaj Tanwar](https://hashnode.com/@pankajtanwar) Cmiiw there can be multiple consumer groups reading from the same queue..right?, wrt first comment. By queue here we mean topics.. right

[RITU RAJ](https://hashnode.com/@rrraj001)

[Jun 27, 2021](https://hashnode.com/posts/the-basics-you-need-to-know-about-kafka-graphic-explanation-ahead/609f6ac547373d4cb0564d69/comment/609fd8e9a46b027fced54598#reply-60d7c571de92ef110afde72b)

Each consumer group can have it's own config and read strategy..do they can read the same msg
