Skip to content
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

How to run a mock Kafka cluster? #409

Open
zc2638 opened this issue Dec 22, 2022 · 3 comments
Open

How to run a mock Kafka cluster? #409

zc2638 opened this issue Dec 22, 2022 · 3 comments

Comments

@zc2638
Copy link

zc2638 commented Dec 22, 2022

I refer to the README, but cannot start a mock kafka cluster.

~ docker run --rm -it --network host edenhill/kcat:1.7.1 -X bootstrap.servers=localhost:9092 -M 3
Error: unknown argument
@zc2638
Copy link
Author

zc2638 commented Dec 23, 2022

/cc @edenhill

@michaelbrown-stateless
Copy link

Also having issues with this. I don't see any documentation on the -M flag in the help screen.

@ryan-yalo
Copy link

Mock cluster is a feature that first appears in v1.80 but AFAIA the latest tagged version anywhere (including in this repo) is v1.7.x. Even if the mock cluster feature was available in a tagged release however, using it from a docker container would currently be impossible because running on localhost is hard-coded in the librdkafka source code so there wouldn't be any way to get it to listen on 0.0.0.0 to be accessible outside the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants