In kafka performance tests https://gist.github.com/jkreps /c7ddb4041ef62a900e6c
The TestEndtoEndLatency results are typically around 2ms, while the ProducerPerformance normally has "average latency"around several hundres ms when using batch size 8196. Are both results talking about end to end latency? and the ProducerPerformance results' latency is just larger because of batching of several messages? What is the message size of the TestEndtoEndLatency test uses? Thanks for any ideas. best,