Re: question about async publisher blocking when broker is down.

2015-11-08 Thread Damian Guy
Hi, If you are using the Scala Producer then yes it will drop messages. It will try up to num retries times and then throw a FailedToSendMessageException. This is caught in the ProducerSendThread and logged, you'd see something like: "Error in handling batch of 10 events ..." If you don't want to

Re: question about async publisher blocking when broker is down.

2015-11-08 Thread Li Tao
Hi, according to my undersanding, your scenario does not apply here. Async does not mean it buffers message when connection is lost(you killed the broker). If the connection is down, the producer should detect it as a exceptional condition, and throw this exception to application level to handle it