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

Request: Enable easily running containers in cluster mode #949

Open
sansmoraxz opened this issue Jul 7, 2023 · 2 comments
Open

Request: Enable easily running containers in cluster mode #949

sansmoraxz opened this issue Jul 7, 2023 · 2 comments

Comments

@sansmoraxz
Copy link

sansmoraxz commented Jul 7, 2023

Services such as kafka, rabbitmq can be run using multiple replicas.

For example cp-kafka with kraft

There may be an optional field where we may specify the number of replicas and the containers will be dynamically spun up and assigned port and container names, with all the environment variables required for coordination injected. The wait hook may also configurable waiting for either master, or all replicas to stabilize.

@orlangure
Copy link
Owner

Hi, is there any particular use case that you are trying to handle?
From my perspective, if some Go code relies on kafka, it doesn't really care if it runs in a cluster or not.
Of course if there is some value in running a cluster of kafka or rabbitmq instances, I support this idea. Would you like to work on it?

@jianyongniu
Copy link

It works for me by running docker with option '--network host'

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