Messaging Queue
Cluster is collection of brokers. Inside broker multiple topics are present. Topic contains messages that producers are producing.
Messaging Queue
Clusteris collection ofbrokers. Insidebrokermultipletopicsare present.Topiccontains messages thatproducersare producing.

=> 1 broker: will have multiple topics
=> each topic: corresponds to a file




Topic itself is a queue.
- All the messages that are stored inside
topiccomes with a retention policy which basically states for how many days a particular message should be stored inside a topic. If the default retention policy is 7 days ,all the messages inside a particular topic will be basically stored for 7 days. After that the messages will be deleted from the topic. Internally also topics are basically implemented using file. You can open the file and you will see that data is stored inside binary format.
**Kafka Partitions** : sharding strategy in kafka.


- Replication RF=2 means data will be replicated to 2 other nodes. Messages inside partition are basically stored ordered by time and are immutable and are stored in log format.
메타데이터
- post_id
- bee7b7d3d701
- slug
- messaging-queue-bee7b7d3d701
- url
- https://medium.com/@akhilaggarwal7790/messaging-queue-bee7b7d3d701
- canonical_url
- https://medium.com/@akhilaggarwal7790/messaging-queue-bee7b7d3d701
- author_url
- https://medium.com/@akhilaggarwal7790
- status
- ok
- fetched_at
- 2026-06-28 14:26:31