You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/01/20 10:24:48 UTC
(incubator-pekko-samples) branch main updated: fix incorrectly prefixed config names (#96)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-samples.git
The following commit(s) were added to refs/heads/main by this push:
new 133c3a8 fix incorrectly prefixed config names (#96)
133c3a8 is described below
commit 133c3a80886481a2052452d90e1b87df9a2d8885
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sat Jan 20 11:24:43 2024 +0100
fix incorrectly prefixed config names (#96)
---
pekko-sample-cluster-java/README.md | 2 +-
pekko-sample-cluster-scala/README.md | 2 +-
.../src/main/scala/sample/cluster/stats/App.scala | 4 ++--
.../src/main/scala/sample/cluster/stats/AppOneMaster.scala | 4 ++--
.../src/main/scala/sample/cluster/transformation/App.scala | 4 ++--
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/pekko-sample-cluster-java/README.md b/pekko-sample-cluster-java/README.md
index f87b0da..d391371 100644
--- a/pekko-sample-cluster-java/README.md
+++ b/pekko-sample-cluster-java/README.md
@@ -8,7 +8,7 @@ This tutorial contains 3 samples illustrating different [Apache Pekko cluster](h
Open [application.conf](src/main/resources/application.conf)
-To enable cluster capabilities in your Apache Pekko project you should, at a minimum, add the remote settings, and use `cluster` as the `org.apache.pekko.actor.provider`. The `org.apache.pekko.cluster.seed-nodes` should normally also be added to your `application.conf` file.
+To enable cluster capabilities in your Apache Pekko project you should, at a minimum, add the remote settings, and use `cluster` as the `pekko.actor.provider`. The `pekko.cluster.seed-nodes` should normally also be added to your `application.conf` file.
The seed nodes are configured contact points which newly started nodes will try to connect with in order to join the cluster.
diff --git a/pekko-sample-cluster-scala/README.md b/pekko-sample-cluster-scala/README.md
index 470f22e..c8314b2 100644
--- a/pekko-sample-cluster-scala/README.md
+++ b/pekko-sample-cluster-scala/README.md
@@ -8,7 +8,7 @@ This tutorial contains 3 samples illustrating different [Pekko cluster](https://
Open [application.conf](src/main/resources/application.conf)
-To enable cluster capabilities in your Apache Pekko project you should, at a minimum, add the remote settings, and use `cluster` as the `org.apache.pekko.actor.provider`. The `org.apache.pekko.cluster.seed-nodes` should normally also be added to your `application.conf` file.
+To enable cluster capabilities in your Apache Pekko project you should, at a minimum, add the remote settings, and use `cluster` as the `pekko.actor.provider`. The `pekko.cluster.seed-nodes` should normally also be added to your `application.conf` file.
The seed nodes are configured contact points which newly started nodes will try to connect with in order to join the cluster.
diff --git a/pekko-sample-cluster-scala/src/main/scala/sample/cluster/stats/App.scala b/pekko-sample-cluster-scala/src/main/scala/sample/cluster/stats/App.scala
index 5d4640b..167be26 100644
--- a/pekko-sample-cluster-scala/src/main/scala/sample/cluster/stats/App.scala
+++ b/pekko-sample-cluster-scala/src/main/scala/sample/cluster/stats/App.scala
@@ -59,8 +59,8 @@ object App {
// Override the configuration of the port when specified as program argument
val config = ConfigFactory
.parseString(s"""
- org.apache.pekko.remote.artery.canonical.port=$port
- org.apache.pekko.cluster.roles = [$role]
+ pekko.remote.artery.canonical.port=$port
+ pekko.cluster.roles = [$role]
""")
.withFallback(ConfigFactory.load("stats"))
diff --git a/pekko-sample-cluster-scala/src/main/scala/sample/cluster/stats/AppOneMaster.scala b/pekko-sample-cluster-scala/src/main/scala/sample/cluster/stats/AppOneMaster.scala
index 904fb45..c520893 100644
--- a/pekko-sample-cluster-scala/src/main/scala/sample/cluster/stats/AppOneMaster.scala
+++ b/pekko-sample-cluster-scala/src/main/scala/sample/cluster/stats/AppOneMaster.scala
@@ -73,8 +73,8 @@ object AppOneMaster {
// Override the configuration of the port when specified as program argument
val config = ConfigFactory
.parseString(s"""
- org.apache.pekko.remote.artery.canonical.port=$port
- org.apache.pekko.cluster.roles = [$role]
+ pekko.remote.artery.canonical.port=$port
+ pekko.cluster.roles = [$role]
""")
.withFallback(ConfigFactory.load("stats"))
diff --git a/pekko-sample-cluster-scala/src/main/scala/sample/cluster/transformation/App.scala b/pekko-sample-cluster-scala/src/main/scala/sample/cluster/transformation/App.scala
index 06da5a1..b1fa205 100644
--- a/pekko-sample-cluster-scala/src/main/scala/sample/cluster/transformation/App.scala
+++ b/pekko-sample-cluster-scala/src/main/scala/sample/cluster/transformation/App.scala
@@ -43,8 +43,8 @@ object App {
// Override the configuration of the port and role
val config = ConfigFactory
.parseString(s"""
- org.apache.pekko.remote.artery.canonical.port=$port
- org.apache.pekko.cluster.roles = [$role]
+ pekko.remote.artery.canonical.port=$port
+ pekko.cluster.roles = [$role]
""")
.withFallback(ConfigFactory.load("transformation"))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org