dielhennr opened a new pull request #11159:
URL: https://github.com/apache/kafka/pull/11159


   Previously, the default `node.id` specified in 
`config/kraft/controller.properties` was the same as the `node.id` specified in 
`config/kraft/broker.properties`. If the user didn't change one of the 
`node.id`s by themselves then the broker would never catch up to the metadata 
log after registering with the controller. Hence, never unfenced itself. There 
is a [debug 
statement](https://github.com/apache/kafka/blob/8a1fcee86e42c8bd1f26309dde8748927109056e/core/src/main/scala/kafka/server/BrokerLifecycleManager.scala#L375)
 in `BrokerLifecycleManager` that tells the user that the broker has not caught 
up with the metadata log, but it does not explicitly say that the broker 
attempting to register is using the `node.id` of a controller. 
   
   This PR changes the default `node.id` in `config/kraft/broker.properties` 
from 1 to 2 so that it can be used with `config/kraft/controller.properties` by 
default.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to