Re: ProducerPerformance.scala compressing Array of Zeros

2015-09-01 Thread Jiangjie Qin
I kind of think letting the ProducerPerformance send uncompressed bytes is not a bad idea. The reason being is that when you send compressed bytes, it is not easy to determine how much data are you actually send. Arguably sending uncompressed bytes does not take compression cost into performance be

Re: ProducerPerformance.scala compressing Array of Zeros

2015-09-01 Thread Ben Stopford
You’re absolutely right. This should be fixed. I’ve made a note of this in https://issues.apache.org/jira/browse/KAFKA-2499 . If you’d like to submit a pull request for this that would be awesome :) Otherwise I’ll try and fit it into the other