What components are included in Kafka’s architecture?

Kafka’s architecture consists of several key components:

  1. Producer: The one responsible for creating messages and sending them to one or more topics in the Kafka cluster.
  2. Consumers read messages from one or multiple topics in a Kafka cluster and process them.
  3. Each node within a Kafka cluster is a Broker, responsible for storing messages and facilitating communication between producers and consumers.
  4. Topic categorization of messages, whereby messages are published to different topics and consumers can subscribe to topics of interest to consume messages.
  5. Each topic can be divided into one or more partitions, with each partition storing a portion of the topic’s data in the broker.
  6. Each message within a partition has a unique offset, allowing consumers to retrieve messages by specifying the offset.
  7. Kafka relies on Zookeeper for cluster management and coordination, including storing cluster metadata and monitoring cluster status.
Leave a Reply 0

Your email address will not be published. Required fields are marked *


广告
Closing in 10 seconds
bannerAds