rondagostino opened a new pull request #9274:
URL: https://github.com/apache/kafka/pull/9274


   Eliminate "use_zk_connection" and similarly-named flags in public system 
test methods.  System tests should always use admin client when the broker 
supports it.  We do need to bootstrap ACLs prior to Kafka starting or prior to 
enabling the
   authorizer, so the ability to force the use of a direct ZooKeeper connection 
rather than the admin client still exists for this case.
   
   This PR also converts a few methods in kafka.py that were connecting 
directly to ZooKeeper for leader and replica/ISR lists
   to use the admin client when the broker version supports it.  It also adds 
support for using the admin client when
   performing "kafka-topics.sh ... -if-not-exists" which was added via KIP-604 
in v2.6.
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to