Many thanks Patrick for your prompt response. Much appreciated.
My environment: Using CDH5.4 with parcels, Hue 3.7.0, Kafka version 0.8.2.0
So this is what I am doing;
Step 1: create a new topic test using command
/usr/bin/kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test
Step 2: Next, I list topics using command
/usr/bin/kafka-topics --list --zookeeper localhost:2181 # I see the topic test listed
Step 3: Now, I insert a message into the topic test using the command
/usr/bin/kafka-console-producer --broker-list localhost:9092 --topic test # able to insert a message
Step 4: Finally, I execute the command
/usr/bin//kafka-console-consumer -zookeeper localhost:2181 -topic test -from-beginning # but nothing happens, the cursor just blinks on a new line and then I have to press Ctrl+Z to kill the operation?
Step 5: I try then the command kafka-topics --list --zookeeper localhost:2181 --topic test #
To Read data from a Kafka topic and write it to standard output but nothing happens, the cursor just keeps blinking on the next line (I followed this link here )
Executing step 5, leads me to conclude that the message is not being written to the topic? Why it is not being written?
Question 1: How do I see if the message was inserted successfully? what command is it
Question 2: Why cannot I see the topic test in Hue (I'm looking in "File browser- /user/kafka/" and i see camus and exec folder )
What am I doing wrong here. Please suggest
Thank you,
Ashish