Re: How can a producer avoid slow brokers?
We can't afford to block since we don't want the pressure
to percolate upstream (even if we did, scribe would drop the messages
rather than the producer).
aim is to not block while queueing as long as there are enough brokers that
can handle the load.
with infinite timeout (or even with smaller time out like 1 second), when a
thread invokes producer.send(ProducerData) it does not know whether it is
going to block or not. I am trying to write a partitioner that can avoid
asyncProducers with higher backlog their queue.
Of course, if the brokers in aggregate can't handle that load, then there
is no choice but to drop the messages. But currently we end up dropping
messages even with one single slow broker.
On Fri, Jan 4, 2013 at 10:49 AM, Neha Narkhede <[EMAIL PROTECTED]>wrote: