Posted On: Apr 16, 2022
Each partition in Kafka has one server that plays the role of a leader, while there can be none or more servers that act as followers.
Leader performs the task of all read and write request, while the followers passively replicate the role of a leader. To ensure load balancing, one of the followers takes up the role of a leader in case of Leader failing.
Never Miss an Articles from us.
It is a publish-subscribe messaging application and an open source message broker project started by Apache software. K..
Kafka was written in Java and Scala programming languages...
Kafka messages can simply be defined as byte arrays that are used by developers to store objects in the format of String..