Are you suggesting that something can be done with the DefaultEventHandler? that it can be overridden or a callback inserted? I hit this error as well but since it doesn't indicate the source of the error, it is an unhelpful error message. Suggestions on how to handle would be appreciated.
From: Philippe Derome <phder...@gmail.com> To: users@kafka.apache.org Sent: Tuesday, June 14, 2016 6:54 AM Subject: Re: Failed to send message after three times." Have you looked at this (DefaultEventHandler)? throw new FailedToSendMessageException("Failed to send messages after " + config.messageSendMaxRetries + " tries.", null) On Tue, Jun 14, 2016 at 6:40 AM, Snehalata Nagaje < snehalata.nag...@harbingergroup.com> wrote: > > > Hi All, > > > I am using kafka version kafka_2.10-0.9.0.1/ > > At some random time we are not able to send message to kafka > > It gives error as "Failed to send message after three times." > > is it network error? > > Thanks, > Snehalata >