To be able to start a service directly, we need to submit a Supervisor configuration parameter to the Druid Overlord process. You can run the following command directly from the Druid package:
curl -XPOST -H'Content-Type: application/json' -d @quickstart/tutorial/wikipedia-kafka-supervisor.json http://localhost:8081/druid/indexer/v1/supervisor
Copy the code
If the submitted Supervisor is successfully created, the returned result will have the created Supervisor ID. In our current example, you should see the result returned as {“id”:”wikipedia”}.
For more information on Kafka data import, refer to the Druid Kafka Indexing Service Documentation page.
You can also view the current supervisors and tasks from the Druid console. In view of the local server access address is: http://localhost:8888/unified-console.html#tasks.
www.ossez.com/t/druid-kaf…