AZ02 AZ03
Broker02 Broker03
Rack Awareness
9
AZ01
Topic A - Partition 1
(Follower)
Topic A - Partition 1
(Follower)
Topic A - Partition 2
(Leader)
Topic A - Partition 2
(Follower)
Topic A - Partition 3
(Leader)
Topic A - Partition 3
(Follower)
Broker01
Topic A - Partition 1
(Leader)
Topic A - Partition 2
(Follower)
Topic A - Partition 3
(Follower)
broker.rack = “AZ01” broker.rack = “AZ02” broker.rack = “AZ03”
● Rack Awareness enables spreading replicas across different locations
● Kafka provides robustness for broker-failure, rack-failure, dc-failure, and az failure.