Apache Kafka 4 · Performance and debugging
Test producer throughput
Send 100,000 records of 100 bytes as fast as possible.
bin/kafka-producer-perf-test.sh --topic orders --num-records 100000 --record-size 100 --throughput -1 --producer-props bootstrap.servers=localhost:9092
Official Apache Kafka 4 documentation
More performance and debugging commands
All performance and debugging commands · Apache Kafka 4 cheatsheet