Please enable JavaScript.
Coggle requires JavaScript to display documents.
Kafka-Kraft-Mode - Coggle Diagram
Kafka-Kraft-Mode
KRaft Implementation
Dedicated vs. Shared Mode
Separate or combined roles, flexible setup
-
-
Controller Quorum
List of managers, who's in charge
-
Active controller.
Main manager, broadcasts changes
In-memory metadata cache.
Fast access to info, quick recovery
Raft Protocol
Agreement system, reliable updates
__cluster_metadata topic
Shared info log, cluster's state
-
-
-
-
Metadata Replication
Copying info, keeps everyone in sync
-
-
-
-
-
Metadata Snapshots
Saving info points, keeps logs small
-
-
-
Broker restarts.
Loading saved info, quickly resumes work
New broker startups.
Getting initial info, quickly joins the team
Local disk snapshot storage.
Saving a local copy, for fast recovery.
KRaft Advantages
Simpler Deployment and Administration
One system to manage, easier to use.
-
-
-
Improved Scalability
Faster recovery, handles more data
-
-
Efficient Metadata Propagation
Faster updates, better performance
-