The default config for running Kafka in KRaft mode (in config/kraft/server.properties
) does not have broker.id
. Instead it has node.id
. What is the difference between these fields? Confluent says to set broker.id.generation.enable=true
when not running in KRaft mode. Is there an equivalent value when running KRaft mode?
The difference is that broker.id
is for installs that use Zookeeper and node.id
is for installs that use KRaft. There is no equivalent broker.id.generation.enable
when using KRaft.