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

Broadcasting message to cluster #43

Open
thdxr opened this issue Jul 16, 2015 · 3 comments
Open

Broadcasting message to cluster #43

thdxr opened this issue Jul 16, 2015 · 3 comments

Comments

@thdxr
Copy link

thdxr commented Jul 16, 2015

Is there an easy way to broadcast a payload to all other members of the cluster. I've looked through the documentation and the only way to do it seems to be to implement Delegate, however I'm having difficulty understanding what the majority of the interface functions are supposed to do. It would be useful to have an example use case of the library beyond just connecting to a cluster

@armon
Copy link
Member

armon commented Jul 16, 2015

@dax0 I recommend using the Serf library instead. It is much higher level and makes this library easy to use. Serf is both a CLI tool but also a library which is confusing. You can embed the library without any of the CLI stuff.

@thdxr
Copy link
Author

thdxr commented Jul 16, 2015

Did take a look at Serf, couldn't find out how to set the port I wanted it to listen on

@thdxr
Copy link
Author

thdxr commented Jul 16, 2015

Ah just realized its config accepts a memberlist config. Cool will play around with it

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