scholzj commented on code in PR #17210:
URL: https://github.com/apache/kafka/pull/17210#discussion_r1761582534
##########
core/src/main/scala/kafka/server/KafkaConfig.scala:
##########
@@ -967,7 +967,7 @@ class KafkaConfig private(doLog: Boolean, val props:
util.Map[_, _])
// ZK-based
if (migrationEnabled) {
require(brokerId >= 0,
- "broker broker.id.generation.enable is incompatible with migration
to ZK. Please disable it before enabling migration")
+ "broker.id generation is incompatible with ZooKeeper migration.
Please stop using it before enabling migration (set broker.id to a value
greater or equal to 0).")
Review Comment:
I'm not entirely sure why it is here -> I just updated the message. The test
does not trigger it. But to be honest, my Kafka code knowledge is not good
enough to understand if under some circumstances it might get here.
--
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]