CalvinConfluent commented on code in PR #19194:
URL: https://github.com/apache/kafka/pull/19194#discussion_r1999125992


##########
tests/kafkatest/services/kafka/kafka.py:
##########
@@ -330,7 +327,7 @@ def __init__(self, context, num_nodes, zk, 
security_protocol=SecurityConfig.PLAI
             if self.quorum_info.has_brokers:
                 num_nodes_broker_role = num_nodes
                 if self.quorum_info.has_controllers:
-                    self.num_nodes_controller_role = 
self.num_kraft_controllers(num_nodes_broker_role, controller_num_nodes_override)
+                    self.num_nodes_controller_role = 
self.num_kraft_controllers(num_nodes_broker_role, 0)

Review Comment:
   Yes, if the available nodes are less than 3, it only assigns 1 controller 
node. I can update the description. 



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