Hello,
I have a question :-)
We have Kafka v3.5.1 in KRAFT mode running, with two datacenters (via
10Gb Darkfiber):
DC 1 : 3 nodes Controller / Broker
DC 2 : 2 nodes Controller / Broker
DC 2 : 1 node Broker
Every node has:
* Node ID
* RACK ID
grep -E '(id|rack)' /etc/kafka/server.properties
broker.rack=0
node.id=1
broker.rack=0 -> DC1
broker.rack=1 -> DC2
Can it be, that the choice to use "0" as broker.rack was a bad ? We have
at the moment an issue .. and I'm seeing in the error logs:
(id: 2 rack: null) failed.
The origin reason was, that we had on "DC1" more Controller / Broker,
than on DC2. So I red, that we can use "broker.rack", so that Kafka can
handle it better and knows, that DC has less brokers.
If "0" was a bad choice, is it possible to change it, without loosing
the data ?
cu denny