mumrah commented on code in PR #17192:
URL: https://github.com/apache/kafka/pull/17192#discussion_r1759170027
##########
core/src/test/scala/unit/kafka/server/KafkaServerTest.scala:
##########
@@ -202,4 +202,16 @@ class KafkaServerTest extends QuorumTestHarness {
TestUtils.createServer(kafkaConfig)
}
+ @Test
+ def testGeneratedBrokerIdForbiddenDuringMigration(): Unit = {
+ val props = TestUtils.createBrokerConfig(-1, zkConnect)
+ props.put("reserved.broker.max.id", "2000")
Review Comment:
Does this test need to set `broker.id.generation.enable`? or is that
implicit when `reserved.broker.max.id` is set
--
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]