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

pekko-sample-cluster-java: Simple Cluster Example does not work #73

Closed
gamgiov opened this issue Sep 13, 2023 · 2 comments
Closed

pekko-sample-cluster-java: Simple Cluster Example does not work #73

gamgiov opened this issue Sep 13, 2023 · 2 comments

Comments

@gamgiov
Copy link

gamgiov commented Sep 13, 2023

The Simple Cluster Example does not work.
Looking in depth at the ...../simple/App.java class file and its methods I noticed a wrong config property in the private static void startup(int port) (see line 38)
The line is

overrides.put("org.apache.pekko.remote.artery.canonical.port", port);

and should be changed to

overrides.put("pekko.remote.artery.canonical.port", port);

Reading the Artery Remoting documentation (https://pekko.apache.org/docs/pekko/current/remoting-artery.html) the right config property is "pekko.remote.artery.canonical.port"

After this change the Simple Cluster Example works very well !!!

@pjfanning
Copy link
Contributor

Thanks @gamgiov for providing the description. I have created #74

@pjfanning
Copy link
Contributor

PR merged

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