[ https://issues.apache.org/jira/browse/KAFKA-17917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895415#comment-17895415 ]
Kevin Wu commented on KAFKA-17917: ---------------------------------- Hey [~yx9o]! Sounds good to me. The changes required are somewhat large, so we might want to divide and conquer this. Firstly, there is some dead code that can be cleaned up for tests that do not use ZookeeperService anymore. Classes that do not have any tests using metadata_quorum=quorum.zk can have self.zk removed. The tests I mentioned in the description are currently using quorum.zk because when metadata_quorum value is not specified in the test, it defaults to quorum.zk. Getting them migrated over to KRaft could be as simple as specifying a KRaft metadata_quorum value for these tests and increasing the number of nodes if needed, but I'm not 100% sure. Some details about some of the tests that need to be migrated: * downgrade_test: From my understanding, we should support downgrades until version 3.3 since that was the first with KRaft GA. * network_degrade_test: Currently, this test sets up two ZK nodes and tests that network degrade Trogdor specs work. This should be refactored to use two Kafka nodes instead. > Convert Kafka core system tests to use KRaft > -------------------------------------------- > > Key: KAFKA-17917 > URL: https://issues.apache.org/jira/browse/KAFKA-17917 > Project: Kafka > Issue Type: Improvement > Components: core, system tests > Affects Versions: 4.0.0 > Reporter: Kevin Wu > Priority: Blocker > > The downgrade, group mode transactions, security rolling upgrade, and > throttling test should be migrated to using KRaft. The network degrade test > should be refactored to use KafkaService rather than ZookeeperService. -- This message was sent by Atlassian Jira (v8.20.10#820010)