Life of a Message in Kafka

  1. The producer publishes a message to a partition within a topic.
  2. The message is added to the partition on the leader.
  3. The message is copied to the replicas of that partition on other brokers
  4. Consumers read the message and process it.
  5. When the retention period for the message is reached, the message is deleted.
Kafka Cluster

Leave a Reply

Your email address will not be published.

ANOTE.DEV