Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

GOSSIP-100 Update README.md#70

Open
zhztheplayer wants to merge 1 commit intoapache:masterfrom
zhztheplayer:master
Open

GOSSIP-100 Update README.md#70
zhztheplayer wants to merge 1 commit intoapache:masterfrom
zhztheplayer:master

Conversation

@zhztheplayer
Copy link
Member

see jira link

for (int i = 1; i < seedNodes+1; ++i) {
URI uri = new URI("udp://" + "127.0.0.1" + ":" + (50000 + i));
startupMembers.add(new RemoteGossipMember(cluster, uri, i + ""));
startupMembers.add(new RemoteMember(cluster, uri, i + ""));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It actually may not be immediately obvious (it was not for me!) that cluster here is a String ID for the cluster. Perhaps explicitly add this so that this code block is stand-alone runnable?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants