obsidiandynamics / kafdrop

Kafka Web UI
Apache License 2.0
5.57k stars 842 forks source link

[Question] How to consumer messages? #258

Closed scheung38 closed 2 years ago

scheung38 commented 3 years ago

after sending a message: curl -X POST https://producer-kafka-sample.cloud.okteto.net -H “Content-Type: application/json” -d ‘{“message”:“foo”}’

how to read from topic from curl, (not from consumer/app.py)

consumer> curl -X GET https://kafdrop-kafka-sample.cloud.okteto.net returns the complete HTML instead of JSON?

Screenshot 2021-03-28 at 03 18 38

Tried:

https://kafdrop-kafka-sample.cloud.okteto.net/topic

https://kafdrop-kafka-sample.cloud.okteto.net/v2/api-docs

OneCricketeer commented 3 years ago

Duplicates #257