I have installed Druid service in ambari. Using kafka I am generating messages into Druid. I have few questions :
1. I have created a topic in kafka.
/bin/kafka-topics.sh --create --zookeeper <zookeeper ip>:2181 --replication-factor 1 --partitions 1 --topic metrics
2. In Druid dir, I have run bin/generate-example-metrics to generate sample data.
./bin/kafka-console-producer.sh --broker-list localhost:9092 --topic metrics
4. I would like to know how to query the data. Are there any commands please let me know.
5.Next step, I edited this file
6. How to execute the command in JSON format.
7. What to do inorder to view the graph in Druid WEBUI. How to connect it?
I referred this URL : https://github.com/druid-io/druid/blob/master/docs/content/tutorials/tutorial-kafka.md.
Please help me regarding this issue.
here is a step by step tutorial http://druid.io/docs/0.11.0/tutorials/tutorial-kafka.html