-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docker compose example demo #83
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any chance we could remove zookeeper? Extra bloat not needed since Kafka went zookeeperless. It’s fine if not
@chuck-alt-delete sure but do you have a good example of that? I couldn't find a docker image that works out of the box. The Confluent quick start is still using zookeeper: |
does not seem to work If I try to use the latest
|
@bobbyiliev here is a good reference: https://github.com/confluentinc/learn-kafka-kraft |
Here’s an example with a single broker that’s a little more straightforward: https://github.com/confluentinc/cp-all-in-one/blob/7.3.0-post/cp-all-in-one-kraft/docker-compose.yml |
Shameless plug to stand up Redpanda as the Kafka, it's way better in docker. |
Thank you for the suggestion @larsenpanda! Just updated the demo! @chuck-alt-delete that whole setup seems a bit funky for a simple example, we remove 4 lines of zookeeper definition to add 10+ lines of Kafka configuration and a volume for the |
Sounds good! |
What type of PR is this? (check all applicable)
Description
Adding a docker compose example demo that will allow users to run multiple instances of the
datagen
simultaneously.Also moving the e-commerce tutorial to its own directory, that way we would not clutter the
examples
directory with multiple shared files as we add additional tutorials and demos in there and we will keep it organized.Related Tickets & Documents
Closes #82
Added to documentation?
[optional] What gif best describes this PR or how it makes you feel?