Re: Enforcing Network Bandwidth Quote with New Java Producer

2014-11-18 Thread Jun Rao
Either is fine. "outgoing-byte-rate" gives you the total and "byte-rate" gives you per topic. Thanks, Jun On Mon, Nov 17, 2014 at 3:58 PM, Bhavesh Mistry wrote: > Hi Jun, > > So If I set the "*metrics.sample.window.ms > *" to 1 minute, I will be able to get > c

Re: Enforcing Network Bandwidth Quote with New Java Producer

2014-11-17 Thread Bhavesh Mistry
Hi Jun, So If I set the "*metrics.sample.window.ms *" to 1 minute, I will be able to get compression bytes count per minute. Which one should I be using from following ? "outgoing-byte-rate", //The average number of outgoing bytes sent per second

Re: Enforcing Network Bandwidth Quote with New Java Producer

2014-11-14 Thread Jun Rao
We have a metric that measures the per-topic bytes send rate (after compression). You can get the values through the producer api. Thanks, Jun On Fri, Nov 14, 2014 at 10:34 AM, Bhavesh Mistry wrote: > HI Kafka Team, > > We like to enforce a network bandwidth quota limit per minute on producer

Enforcing Network Bandwidth Quote with New Java Producer

2014-11-14 Thread Bhavesh Mistry
HI Kafka Team, We like to enforce a network bandwidth quota limit per minute on producer side. How can I do this ? I need some way to count compressed bytes on producer ? I know there is callback does not give this ability ? Let me know the best way. Thanks, Bhavesh