kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "England, Michael" <mengl...@homeadvisor.com>
Subject RE: Failed to send messages after 3 tries
Date Wed, 25 Jun 2014 22:42:34 GMT
Neha,

I don’t see that error message in the logs. The error that I included in my original email
is the only error that I see from Kafka. 

Do I need to change log levels get the info that you need?

Mike

-----Original Message-----
From: Neha Narkhede [mailto:neha.narkhede@gmail.com] 
Sent: Wednesday, June 25, 2014 4:31 PM
To: users@kafka.apache.org
Subject: Re: Failed to send messages after 3 tries

Could you provide information on why each retry failed. Look for an error
message that says "Failed to send producer request".


On Wed, Jun 25, 2014 at 2:18 PM, England, Michael <mengland@homeadvisor.com>
wrote:

> Hi,
>
> I get the following error from my producer when sending a message:
> Caused by: kafka.common.FailedToSendMessageException: Failed to send
> messages after 3 tries.
>                 at
> kafka.producer.async.DefaultEventHandler.handle(DefaultEventHandler.scala:90)
>                 at kafka.producer.Producer.send(Producer.scala:76)
>                 at kafka.javaapi.producer.Producer.send(Producer.scala:42)
>                 at
> com.servicemagic.kafka.producer.KafkaProducerTemplate.send(KafkaProducerTemplate.java:37)
>                 ... 31 more
>
> The producer is running locally, the broker is on a different machine. I
> can telnet to the broker, so it isn't a network issue. Also, I have other
> producers that work fine using the same broker (but a different topic).
>
> I've checked the various logs on the broker, but I don't see anything
> obvious in them. I'm not sure how to turn up the logging level, though, so
> perhaps there would be useful info if I could do that.
>
> Can you give me some suggestions on how to troubleshoot this issue?
>
> Thanks,
>
> Mike
>
Mime
View raw message