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

feat: simplify auto cluster configs #165

Merged
merged 3 commits into from
Jun 11, 2022

Conversation

zmstone
Copy link
Member

@zmstone zmstone commented Jun 11, 2022

the app config for dns node discovery and the app_name for k8s node discovery are seemingly unnecessary.
this config has to be agreed by all nodes in the cluster, meaning the node which tries to discover peer nodes should already know the node name (the part before @) for all peer nodes (which is: the same as itself).

this PR tries to deprecate the app and app_name config by allowing them to be missing.
when not given (undefined), derive the peer node name (the part before @) from its own name.

@zmstone zmstone requested a review from a team June 11, 2022 15:49
@zmstone zmstone merged commit ff1bc22 into emqx:master Jun 11, 2022
@zmstone zmstone deleted the feat-simplify-auto-cluster-configs branch June 11, 2022 16:49
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

Successfully merging this pull request may close these issues.

None yet

2 participants