- |
kafka-producer-perf-test \
--topic test \
- --num-records 1000000 \
+ --num-records 3000000 \
--record-size 100 \
--throughput -1 \
--producer.config /tmp/client.properties \
- -c
- |
kafka-consumer-perf-test \
- --bootstrap-server kafka:9091 \
+ --bootstrap-server kafka:9092 \
--topic test \
--group consumer-1 \
+ --messages 1000000 \
+ --timeout 50000 \
+ --print-metrics \
+ --reporting-interval 1000 \
+ --show-detailed-stats \
--consumer.config /tmp/client.properties
volumes:
- ./u1.properties:/tmp/client.properties
- -c
- |
kafka-consumer-perf-test \
- --bootstrap-server kafka:9091 \
+ --bootstrap-server kafka:9092 \
--topic test \
--group consumer-1 \
+ --messages 1000000 \
+ --timeout 50000 \
+ --print-metrics \
+ --reporting-interval 1000 \
+ --show-detailed-stats \
--consumer.config /tmp/client.properties
volumes:
- ./u2.properties:/tmp/client.properties
- -c
- |
kafka-consumer-perf-test \
- --bootstrap-server kafka:9091 \
+ --bootstrap-server kafka:9092 \
--topic test \
--group consumer-1 \
+ --messages 1000000 \
+ --timeout 50000 \
+ --print-metrics \
+ --reporting-interval 1000 \
+ --show-detailed-stats \
--consumer.config /tmp/client.properties
volumes:
- ./u3.properties:/tmp/client.properties