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?
Asked
Active
Viewed 964 times
1

user2233706
- 6,148
- 5
- 44
- 86
1 Answers
1
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.

user2233706
- 6,148
- 5
- 44
- 86