Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.06 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.06 KB

Deploy your Kafka Stack with Okteto

Deploy Zookeeper, Kafka, and Kafdropfrom your terminal using the Okteto CLI.

okteto up

Once you've deployed your stack, login to Okteto Cloud to see the state of your Okteto stack, logs, and endpoints. The stack includes:

  • A REST API that receives a JSON payload and pushes it to a Kafka topic.
  • A consumer process that consumes the messages from the topic and prints them out.
  • An instance of Kafrop, a web UI for viewing Kafka topics and browsing consumer groups.

You can access the endpoints from your Okteto Cloud dashboard.

Try the App

To try it out, send a JSON message to the producer service, replacing the URL with your own:

curl -X POST https://producer-cindylopez.cloud.okteto.net -H "Content-Type: application/json" -d '{"message":"hello world!"}'

The consumer service will then pick up the message you posted and log it in the dashboard.