Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Hi, Can anyone tell me why I cannot produce any message to remote kafka server from my local machine


Copy link to this message
-
Re: Hi, Can anyone tell me why I cannot produce any message to remote kafka server from my local machine
Jun Rao 2013-10-07, 14:52
Kafka port is documented in
http://kafka.apache.org/documentation.html#brokerconfigs

Thanks,

Jun
On Sat, Oct 5, 2013 at 12:05 PM, Jiang Jacky <[EMAIL PROTECTED]> wrote:

> Hi, I tried to setup the host.name in servier.properties, it doesn't work.
> I believe it is the network security issue. However, I create a new
> instance in the same security group without kafka, zookeeper, it does work,
> it can still produce to kafka server. but when I change to another ec2
> account, then create the same instance, and it cannot produce to kafka
> server.
> I pay attention that there is no outbound port setting in the security
> group configuration of kafka server ec2, I think if we shall have to set
> the outbound port for the firewall?
> Do you guys know which outbound port should be opened for kafka server?
> Thanks
>
>
> 2013/10/5 Guozhang Wang <[EMAIL PROTECTED]>
>
> > Hello Jacky,
> >
> > Have you read this FAQ:
> >
> >
> >
> https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-OnEC2%2Cwhycan%27tmyhighlevelconsumersconnecttothebrokers%3F
> >
> > Guozhang
> >
> >
> > On Fri, Oct 4, 2013 at 10:41 PM, Jiang Jacky <[EMAIL PROTECTED]>
> wrote:
> >
> > > It is very weird, I have a kafka cluster in EC2, There is no any
> problem
> > to
> > > produce message from one of node by same producer. But when I move the
> > > producer to my local machine at home, then it gives me the below error:
> > > Failed to send messages after 3 tries.
> > >
> > > Can anyone tell me how do I fix this issue? I have opened all ports of
> my
> > > machine at my home, and the security group is also opened for kafka
> > server
> > > and zookeeper in EC2. Everything is fine, but I just cannot send any
> > > message to kafka server.
> > > Please help me.
> > > Thanks Everyone!
> > >
> > > Jacky
> > >
> >
> >
> >
> > --
> > -- Guozhang
> >
>