mumrah commented on code in PR #12250:
URL: https://github.com/apache/kafka/pull/12250#discussion_r894904330


##########
core/src/test/scala/unit/kafka/server/KafkaRaftServerTest.scala:
##########
@@ -215,4 +223,47 @@ class KafkaRaftServerTest {
       () => KafkaRaftServer.initializeLogDirs(config))
   }
 
+  @Test
+  def testKRaftUpdateWithIBP(): Unit = {

Review Comment:
   If we have an invalid IBP here, KafkaConfig will throw a ConfigException 
right away. Basically, if we're in KRaft mode and IBP is user-defined as 
something less than 3.0 (or, 3.0-IV1 really), we won't even try to start up.
   
   I'll see if I can add a test that initializes the controller with a bad 
metadata version.



-- 
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