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

consul.io auto cluster support #57

Open
alex-bermishev opened this issue Jun 28, 2019 · 1 comment
Open

consul.io auto cluster support #57

alex-bermishev opened this issue Jun 28, 2019 · 1 comment
Assignees
Milestone

Comments

@alex-bermishev
Copy link

any plans to add support for emqx autocluster via consul.io?
or maybe there is some workaround to achieve emqx peer discovery with consul.io

@emqplus emqplus self-assigned this Nov 12, 2019
@MrRagnar
Copy link

You can probably use DNS clustering with Consul.
If all your nodes register with consul using the service name emqx the following config should work:

## Cluster discovery
cluster.discovery = dns

## Setup the domain name for cluster
cluster.dns.name = emqx.service.consul

## Setup the first part of node name
cluster.dns.app = emqx

See more: https://docs.emqx.io/tutorial/v3/en/cluster/dns.html

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

No branches or pull requests

4 participants