Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2015-08-04 Thread David Li
you are right. after I run kafka in my localhost directly, it works just fine after further google, i found that need to set two parameters below if the kafka is running on some other machines #advertised.host.name= #advertised.port= more precisely, if the kafka is running within a docker conta

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2015-08-04 Thread Jilin Xie
Some suggestions: Check the existence of the topic. Check the firewall of the broker... Try telnet or something to make sure it's available. Try run the producer on the broker machine. Since you get this error, this code is functioning. I think it's some configuration an

kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2015-08-03 Thread David Li
Hi I have a very simple code to just send out one message, the topic is created automatically, but the message just cannot be sent out. I also tried to change the configuration, the result is still the same. Sorry to bother you all with this silly question. For your information, the kafka server i

Re: Exception in thread "main" kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries

2014-08-03 Thread Kamal C
ifiableProperties). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for > more info. > Exception in thread "main" kafka.common.FailedToSendMessageException: > Failed to send

Exception in thread "main" kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries

2014-08-01 Thread pradeep.simha
ogger (kafka.utils.VerifiableProperties). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Exception in thread "main" kafka.common.FailedToSendMessageException: Failed to send messages after 3 trie

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-26 Thread Yogesh Sangvikar
gt; a "pilot error" :-) The snippet you provided doesn't seem to have this > >>> problem, but it is interesting that we got the same error (which would > >>>be > >>> nice if it can be customized depending on the actual problem

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-25 Thread Florin Trofin
7;s host and port). In other >>>words >>> a "pilot error" :-) The snippet you provided doesn't seem to have this >>> problem, but it is interesting that we got the same error (which would >>>be >>> nice if it can be customized depending on the actual probl

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-25 Thread Jun Rao
ogesh.sangvi...@gmail.com>: > > > Hi Jun, > > > > The stack trace we found is as follow, > > > > log4j:WARN No appenders could be found for logger > > (kafka.utils.VerifiableProperties). > > log4j:WARN Please initialize the log4j system properly. >

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-25 Thread Jun Rao
d be found for logger > (kafka.utils.VerifiableProperties). > log4j:WARN Please initialize the log4j system properly. > kafka.common.FailedToSendMessageException: Failed to send messages after 3 > tries. > at > > kafka.producer.async.DefaultEventHandler.handle(

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-25 Thread Yogesh Sangvikar
or" :-) The snippet you provided doesn't seem to have this > >> problem, but it is interesting that we got the same error (which would > be > >> nice if it can be customized depending on the actual problem: host > >> unreachable, not responding,

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-25 Thread Jonathan Hodges
never the less the message was enqueued >> >four times into the cluster. It would be great to get any hint on this >> >issue. >> > >> >regards >> > >> >-- >> >Markus Roder >> > >> >Am 25.06.2013 um 07:18 schrieb Yog

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-25 Thread Jonathan Hodges
er. It would be great to get any hint on this > >issue. > > > >regards > > > >-- > >Markus Roder > > > >Am 25.06.2013 um 07:18 schrieb Yogesh Sangvikar > >: > > > >> Hi Jun, > >> > >> The

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-25 Thread Florin Trofin
>: > >> Hi Jun, >> >> The stack trace we found is as follow, >> >> log4j:WARN No appenders could be found for logger >> (kafka.utils.VerifiableProperties). >> log4j:WARN Please initialize the log4j system properly. >> kafka.common.Failed

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-24 Thread Markus Roder
> log4j:WARN No appenders could be found for logger > (kafka.utils.VerifiableProperties). > log4j:WARN Please initialize the log4j system properly. > kafka.common.FailedToSendMessageException: Failed to send messages after 3 > tries. >at > kafka.producer

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-24 Thread Yogesh Sangvikar
Hi Jun, The stack trace we found is as follow, log4j:WARN No appenders could be found for logger (kafka.utils.VerifiableProperties). log4j:WARN Please initialize the log4j system properly. kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries. at

Re: kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-24 Thread Jun Rao
Could you attach the log before FailedToSendMessageException in the producer? It should tell you the reason why the message can't be sent. Thanks, Jun On Mon, Jun 24, 2013 at 9:20 PM, Yogesh Sangvikar < yogesh.sangvi...@gmail.com> wrote: > Hi Team, > > We are using kafka-0.8.0-beta1-candidate

kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

2013-06-24 Thread Yogesh Sangvikar
Hi Team, We are using kafka-0.8.0-beta1-candidate1 release. ( https://github.com/apache/kafka/tree/0.8.0-beta1-candidate1). While running producer with following configuration, we found an issue "kafka.common. FailedToSendMessageException: Failed to send messages after 3 tries", We are using def