Kafka
Last updated
Last updated
Apache Kafka is a distributed streaming platform that enables users to publish, subscribe to, store, and process streams of records in real time. It is designed to handle high volumes of data efficiently, making it an excellent choice for large-scale message processing tasks. Kafka is built around the concept of a distributed commit log, providing fault tolerance, durability, and high throughput for both publishing and subscribing by leveraging cluster nodes.
It supports producers sending messages to topics, from which consumers can read and process these messages. This makes Kafka suitable for a variety of applications, including real-time analytics, event sourcing, log aggregation, and more.
Apache Kafka in Kraft (KRaft) mode, which stands for Kafka Raft metadata mode, simplifies Kafka's operational model by eliminating the need for an external Zookeeper cluster.
Below are the key components of a Kafka cluster running in Kraft mode:
Manages the state of the cluster and is responsible for administrative tasks such as topic creation, deletion, and partition reassignment. In Kraft mode, the controller logic is embedded within the Kafka broker itself, leveraging the Raft protocol for consensus.