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

embedded nats and Clustering via Synadia Discovery. #115

Open
gedw99 opened this issue Aug 18, 2024 · 2 comments
Open

embedded nats and Clustering via Synadia Discovery. #115

gedw99 opened this issue Aug 18, 2024 · 2 comments

Comments

@gedw99
Copy link

gedw99 commented Aug 18, 2024

If I start 3 instances or marmot with embedded nats, they won't cluster automatically, because they do not have the right config and they do not have knowledge of each other ?

So I was thinking of some sort of discovery mechanism, so that each embedded nats modify its config at runtime.

Synadia Cloud can do this for us, with each Marmot Embedded NATS telling Synadia that it booted and subscribing to others that booted. All we need is a common namespace.

You can see a KV thats generic enough here using NATS:
https://github.com/delaneyj/toolbelt/blob/main/nats.go#L87

@gedw99 gedw99 changed the title embedded nats embedded nats and Clustering via Synadia Discovery. Aug 18, 2024
@bitnom
Copy link

bitnom commented Oct 9, 2024

link is dead now

@gedw99
Copy link
Author

gedw99 commented Oct 9, 2024

Indeed it has and kv access is not there either

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

2 participants