Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Get the ducktape tests working without the --zookeeper flag (except for scram).
(Note: When doing compat testing we'll still use the old flags.)
Below are the current usagesĀ
[tests]$ grep -R -e "--zookeeper" . ./kafkatest/tests/core/zookeeper_tls_encrypt_only_test.py: # Cannot use --zookeeper because kafka-topics.sh is unable to connect to a TLS-enabled ZooKeeper quorum, ./kafkatest/tests/client/quota_test.py: cmd = "%s --zookeeper %s --alter --add-config producer_byte_rate=%d,consumer_byte_rate=%d" % \ ./kafkatest/services/console_consumer.py: cmd += " --zookeeper %(zk_connect)s" % args ./kafkatest/services/security/security_config.py: cmd = "%s --zookeeper %s --entity-name %s --entity-type users --alter --add-config %s=[password=%s]" % \ ./kafkatest/services/zookeeper.py: la_migra_cmd += "%s --zookeeper.acl=%s --zookeeper.connect=%s %s" % \ ./kafkatest/services/zookeeper.py: cmd = "%s kafka.admin.ConfigCommand --zookeeper %s %s --describe --topic %s" % \ # Used by MessageFormatChangeTest, TruncationTest ./kafkatest/services/kafka/kafka.py: cmd += "%s --zookeeper %s %s --entity-name %s --entity-type topics --alter --add-config message.format.version=%s" % \ ./kafkatest/services/kafka/kafka.py: cmd += "%s --zookeeper %s %s --entity-name %s --entity-type topics --alter --add-config unclean.leader.election.enable=%s" % \ # called by reassign_partitions.sh, ThrottlingTest, ReassignPartitionsTest ./kafkatest/services/kafka/kafka.py: cmd += "--zookeeper %s " % self.zk_connect_setting() ./kafkatest/services/kafka/kafka.py: cmd += "--zookeeper %s " % self.zk_connect_setting() ./kafkatest/services/kafka/kafka.py: connection_setting = "--zookeeper %s" % (self.zk_connect_setting())
Attachments
Attachments
Issue Links
- fixes
-
KAFKA-10213 Prefer --bootstrap-server in ducktape tests for Kafka clients
- Resolved
-
KAFKA-10258 Get rid of use_zk_connection flag in kafka.py public methods
- Resolved
- links to