Iam using hortonworks. i want to fetch tweets and want to store in kafka topic.
I tried using kafka producer api in java but tweets are not getting stored in kafka topic only displays on eclipse console. Is there any way to fetch tweets from command line only ?
Hi @heta desai,
If you are able to produce the tweets to the topic, then you can use a kafka consumer to read tweets from the topic.
If you want to read from command line, you can read it using stdin.