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 <suhsheka...@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
>

Reply via email to