使用kafka consumer perf test(卡夫卡消费者性能测试)时,我每秒收到200万条消息,但使用C#client时,我每秒收到564k消息。如何压缩卡夫卡客户端的最大性能?
在这两种情况下(Kafka内置性能测试工具和C#客户端),我们都从相同的主题中读取了1个分区和1个复制因子。 卡夫卡性能测试命令:使用kafka consumer perf test(卡夫卡消费者性能测试)时,我每秒收到200万条消息,但使用C#client时,我每秒收到564k消息。如何压缩卡夫卡客户端的最大性能?,c#,apache-kafka,kafka-consumer-api,C#,Apache Kafka,Kafka Consumer Api,在这两种情况下(Kafka内置性能测试工具和C#客户端),我们都从相同的主题中读取了1个分区和1个复制因子。 卡夫卡性能测试命令: bin/kafka-consumer-perf-test.sh --topic topic2p1 --bootstrap-server localhost:9092 --messages 10000000 --threads 1 kafka消费者性能测试的完整结果
bin/kafka-consumer-perf-test.sh --topic topic2p1 --bootstrap-server localhost:9092 --messages 10000000 --threads 1
kafka消费者性能测试的完整结果