You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/02/22 19:25:37 UTC

[GitHub] [kafka] rondagostino commented on a change in pull request #10105: MINOR: System tests for Raft-based metadata quorums

rondagostino commented on a change in pull request #10105:
URL: https://github.com/apache/kafka/pull/10105#discussion_r580527682



##########
File path: tests/kafkatest/services/performance/end_to_end_latency.py
##########
@@ -74,12 +74,15 @@ def __init__(self, context, num_nodes, kafka, topic, num_records, compression_ty
     def start_cmd(self, node):
         args = self.args.copy()
         args.update({
-            'zk_connect': self.kafka.zk_connect_setting(),
             'bootstrap_servers': self.kafka.bootstrap_servers(self.security_config.security_protocol),
             'config_file': EndToEndLatencyService.CONFIG_FILE,
             'kafka_run_class': self.path.script("kafka-run-class.sh", node),
             'java_class_name': self.java_class_name()
         })
+        if node.version < V_0_9_0_0:

Review comment:
       > would be good to have a function in version.py to reflect [functionality unsupported below 0.9.0]
   
   I'll add this function:
   
   ```
       def supports_bootstrap_server(self):
           return self >= V_0_9_0_0
   ```
   
   I then made the changes all over since this 0.9.0 constant is checked in several places:
   
   ```
   tests/kafkatest/services/console_consumer.py
   tests/kafkatest/services/performance/consumer_performance.py
   tests/kafkatest/services/performance/end_to_end_latency.py
   tests/kafkatest/services/performance/producer_performance.py
   tests/kafkatest/tests/core/upgrade_test.py
   tests/kafkatest/tests/core/upgrade_test.py
   ```
   
   We can revert if you think I went too far.




----------------------------------------------------------------
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:
users@infra.apache.org