scalecube-cluster icon indicating copy to clipboard operation
scalecube-cluster copied to clipboard

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

Open eutkin opened this issue 5 years ago • 0 comments

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 avatar Jun 25 '20 12:06 eutkin