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

Cluster doesn't have 'joinAwait' method as example in README #340

Open
eutkin opened this issue Jun 25, 2020 · 0 comments
Open

Cluster doesn't have 'joinAwait' method as example in README #340

eutkin opened this issue Jun 25, 2020 · 0 comments
Labels
invalid This doesn't seem right

Comments

@eutkin
Copy link
Contributor

eutkin commented Jun 25, 2020

Scalecube-cluster project hava README with examples:

// Start cluster node Alice as a seed node of the cluster, listen and print all incoming messages
Cluster alice = Cluster.joinAwait();
alice.listen().subscribe(msg -> System.out.println("Alice received: " + msg.data()));

// Join cluster node Bob to cluster with Alice, listen and print all incoming messages
Cluster bob = Cluster.joinAwait(alice.address());
bob.listen().subscribe(msg -> System.out.println("Bob received: " + msg.data()));

but now, interface Cluster doesn't have static method joinAwait(develop and 2.5.0 tag)

@eutkin eutkin added the invalid This doesn't seem right label Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant