· Tutorial · 2 min read
Confluent Cloud stack with Docker Compose
A fully managed Kafka service can be expensive quickly 😅 Let's use Docker Compose instead 🐳
I recently made a proof of concept with Temporal.io and Confluent Cloud, more on this later 😉 Unfortunately, after a month, I was billed 60$ just for 3 topics and ~20 messages 😱
Since then, I run a Confluent stack on Docker Compose with :
- Zookeeper
- Confluent Server
- Schema Registry
- Confluent Control Center
- AKHQ
It’s based on the Confluent cp-all-in-one repo :
After launching it with docker-compose up -d
, you can access in your browser to :
- Control Center @ http://localhost:9021
- AKHQ @ http://localhost:8080
You are now ready to do some Kafka Streams if you are up to !
Note : I deliberately don’t specify docker images versions to use the latest, and share the same images across projects. I’m still figuring out if it’s a good or a bad practice 🤷🏼♂️