kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Su She <suhsheka...@gmail.com>
Subject Re: Can I run Kafka Producer in BG and then run a program that outputs to the console?
Date Tue, 20 Jan 2015 20:58:36 GMT
Ahh yea that is what I was looking for, thank you! I only need it on the
producer side, are there any other options for that?

Thanks!

On Tue, Jan 20, 2015 at 12:46 PM, Joe Stein <joe.stein@stealth.ly> wrote:

> This is a stdin/stdout producer/consumer that works great for (what I
> think) you are trying to-do https://github.com/edenhill/kafkacat
>
> /*******************************************
>  Joe Stein
>  Founder, Principal Consultant
>  Big Data Open Source Security LLC
>  http://www.stealth.ly
>  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> ********************************************/
>
> On Tue, Jan 20, 2015 at 3:44 PM, Su She <suhshekar52@gmail.com> wrote:
>
> > Hello Everyone,
> >
> > Sorry for asking multiple questions, but I am currently trying another
> > approach to run a kafka producer.
> >
> > 1) I started the kafka console producer as mentioned here in the
> background
> > (just added a & to the end of the producer script) :
> > http://kafka.apache.org/documentation.html#introduction
> >
> > 2) I then ran a Java script that publishes messages to the console, like
> > Hello World, etc, but the messages did not get published (I know the
> > connection was set up as if I manually typed in messages, I was able to
> see
> > them in my consumer).
> >
> > 3) Is this set up possible?
> >
> > Thanks!
> >
> > -Su
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message