Rancho-7 commented on PR #20301: URL: https://github.com/apache/kafka/pull/20301#issuecomment-3150815090
The updated usage of the tool with argument parser: ``` (base) lansg:bin/ (KAFKA-19011✗) $ ./kafka-e2e-latency.sh --bootstrap-server localhost:9092 --topic test-topic --num-records 1000 --producer-acks 1 --record-size 512 --record-key-size 64 --num-headers 5 --record-header-key-size 64 --record-header-size 128 0 26.187541 Avg latency: 1.2853 ms Percentiles: 50th = 1, 99th = 3, 99.9th = 26 ``` It's compatible with the legacy version: ``` (base) lansg:bin/ (KAFKA-19011✗) $ ./kafka-e2e-latency.sh localhost:9092 test-topic 1000 1 512 [21:21:28] WARNING: Positional argument usage is deprecated and will be removed in Apache Kafka 5.0. Please use named arguments instead: --bootstrap-server, --topic, --num-records, --producer-acks, --record-size, --command-config 0 45.907666 Avg latency: 1.5202 ms Percentiles: 50th = 1, 99th = 6, 99.9th = 88 ``` -- 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