This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch wip-rolling-update-typed-patriknw
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-samples.git

commit 4344cf2134fd340dffe8d294a252e31053b88a6a
Author: Patrik Nordwall <[email protected]>
AuthorDate: Wed Nov 6 14:02:17 2019 +0100

    Akka 2.6.0
---
 akka-sample-sharding-scala/build.sbt                   |  4 ++--
 .../src/main/resources/application.conf                |  4 ----
 .../src/main/resources/logback.xml                     | 18 ++++++++++++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/akka-sample-sharding-scala/build.sbt 
b/akka-sample-sharding-scala/build.sbt
index 32145af..67ecc9d 100644
--- a/akka-sample-sharding-scala/build.sbt
+++ b/akka-sample-sharding-scala/build.sbt
@@ -1,7 +1,7 @@
 import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings
 import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm
 
-val akkaVersion = "2.6.0-M4"
+val akkaVersion = "2.6.0"
 
 lazy val `akka-sample-sharding-scala` = project
   .in(file("."))
@@ -21,7 +21,7 @@ lazy val `akka-sample-sharding-scala` = project
     libraryDependencies ++= Seq(
       "com.typesafe.akka" %% "akka-cluster-sharding" % akkaVersion,
       "com.typesafe.akka" %% "akka-serialization-jackson" % akkaVersion,
-      "org.scalatest" %% "scalatest" % "3.0.7" % Test
+      "org.scalatest" %% "scalatest" % "3.0.8" % Test
     ),
     mainClass in (Compile, run) := Some("sample.sharding.ShardingApp"),
     // disable parallel tests
diff --git a/akka-sample-sharding-scala/src/main/resources/application.conf 
b/akka-sample-sharding-scala/src/main/resources/application.conf
index fc64a62..6cdfff3 100644
--- a/akka-sample-sharding-scala/src/main/resources/application.conf
+++ b/akka-sample-sharding-scala/src/main/resources/application.conf
@@ -20,10 +20,6 @@ akka {
     seed-nodes = [
       "akka://[email protected]:2551",
       "akka://[email protected]:2552"]
-
-    # auto downing is NOT safe for production deployments.
-    # you may want to use it during development, read more about it in the 
docs.
-    auto-down-unreachable-after = 10s
   }
 
 }
diff --git a/akka-sample-sharding-scala/src/main/resources/logback.xml 
b/akka-sample-sharding-scala/src/main/resources/logback.xml
new file mode 100644
index 0000000..cbf0f47
--- /dev/null
+++ b/akka-sample-sharding-scala/src/main/resources/logback.xml
@@ -0,0 +1,18 @@
+<configuration>
+     <appender name="STDOUT" target="System.out" 
class="ch.qos.logback.core.ConsoleAppender">
+         <encoder>
+             <pattern>[%date{ISO8601}] [%level] [%logger] [%thread] 
[%X{akkaSource}] - %msg%n</pattern>
+         </encoder>
+     </appender>
+
+     <appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
+         <queueSize>1024</queueSize>
+         <neverBlock>true</neverBlock>
+         <appender-ref ref="STDOUT" />
+     </appender>
+
+     <root level="INFO">
+         <appender-ref ref="ASYNC"/>
+     </root>
+
+ </configuration> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to