Re: Handling errors in the new (0.8.2) Java Client's Producer

2014-09-26 Thread Andrew Stein
aborting attempts to send any buffered messages. There are other nice to haves (such as "KafkaProducer.close(timeout)", and the returning of an abort indicator from the callback). Thanks once more, Andrew Stein On Wed, Sep 24, 2014 at 7:48 PM, Guozhang Wang wrote: > Hello Andrew

Re: Handling errors in the new (0.8.2) Java Client's Producer

2014-09-19 Thread Andrew Stein
needs some work. That said, the reliance on a thread named "kafka-producer-network-thread" is something I don't like -- too much knowledge of the KafkaProducer's internals. Hoping for other suggestions... Andrew Stein On Fri, Sep 19, 2014 at 2:31 PM, Guozhang Wang wrote: &

Handling errors in the new (0.8.2) Java Client's Producer

2014-09-18 Thread Andrew Stein
ll just be caught and logged. } } } My question is, is this the correct approach, or is there some other way to stop sending messages (short of going "sync"ed). Andrew Stein