apache / pekko-samples

Apache Pekko Sample Projects
https://pekko.apache.org/
Apache License 2.0
42 stars 21 forks source link

pekko-sample-cluster-java #72

Closed gamgiov closed 1 year ago

gamgiov commented 1 year ago

The Simple Cluster Example does not work.

Looking in depth at the ..../simple/App.java class file and its methods, I noticed that there is a wrong configuration property in the method 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 property is "pekko.remote.artery.canonical.port"

After this change the sample works very well.

pjfanning commented 1 year ago

Interesting issue - no description whatsoever and meaningless title. Closing as a duplicate of https://github.com/apache/incubator-pekko-samples/issues/32