mumrah commented on code in PR #17410: URL: https://github.com/apache/kafka/pull/17410#discussion_r1792155142
########## tests/kafkatest/services/kafka/kafka.py: ########## @@ -460,38 +460,6 @@ def node_id_as_isolated_controller(self, node): """ return self.idx(node) + config_property.FIRST_CONTROLLER_ID - 1 - def reconfigure_zk_for_migration(self, kraft_quorum): - self.configured_for_zk_migration = True - self.controller_quorum = kraft_quorum - - # Set the migration properties - self.server_prop_overrides.extend([ - ["zookeeper.metadata.migration.enable", "true"], - ["controller.quorum.voters", kraft_quorum.controller_quorum_voters], - ["controller.listener.names", kraft_quorum.controller_listener_names] - ]) - - # Add a port mapping for the controller listener. - # This is not added to "advertised.listeners" because of configured_for_zk_migration=True - self.port_mappings[kraft_quorum.controller_listener_names] = kraft_quorum.port_mappings.get(kraft_quorum.controller_listener_names) - - def reconfigure_zk_as_kraft(self, kraft_quorum): - self.configured_for_zk_migration = True Review Comment: Please remove this variable completely (along with its other usages) -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org