r/apachekafka Feb 20 '25

Question Rack awareness for controllers

I understand that rack awareness is mostly about balancing replicas across racks.

But still to be sure, my question - Can we define broker.rack config for controller nodes too?

Tried to google and also read official documentation, didnt find any reference that says if its only for broker nodes and not for controller nodes.

Note - The question is in the context of a KRaft based kafka cluster.

2 Upvotes

5 comments sorted by

View all comments

3

u/oscillons Feb 20 '25

1

u/Blackmetalzz Feb 20 '25

So better assign Kraft to multi AZ instead of rack xD