Skip to content

okteto/kafka-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Deploy Kafka and Kafdrop using Okteto Stacks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published