diff --git a/README.md b/README.md index 2bafb617..7fb6c8e9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ ## Akka Sample Projects -This repository contains a number of projects that illustrate various usages of Akka. Samples are written in Scala and Java and use sbt or maven for build definitions. \ No newline at end of file +This repository contains a number of projects that illustrate various usages of Akka. Samples are written in Scala and Java and use sbt or maven for build definitions. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-cluster-java/README.md b/akka-sample-cluster-java/README.md index a40a7d04..85bacb04 100644 --- a/akka-sample-cluster-java/README.md +++ b/akka-sample-cluster-java/README.md @@ -158,3 +158,12 @@ AppOneMaster starts 4 actor systems (cluster members) in the same JVM process. I The multi-jvm testkit which allows for starting a cluster with multiple separate JVMs is only available from Scala with the Scala build tool `sbt`. Such tests are included for completeness and can be found in [src/multi-jvm](src/multi-jvm). You can run them by typing `sbt multi-jvm:test`. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-cluster-java/build.sbt b/akka-sample-cluster-java/build.sbt index e330ab90..fcfaa2c0 100644 --- a/akka-sample-cluster-java/build.sbt +++ b/akka-sample-cluster-java/build.sbt @@ -1,7 +1,7 @@ import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val AkkaDiagnosticsVersion = "2.1.0" val LogbackClassicVersion = "1.2.11" val ScalaTestVersion = "3.1.1" diff --git a/akka-sample-cluster-java/pom.xml b/akka-sample-cluster-java/pom.xml index cf9fcfd5..c71125ff 100644 --- a/akka-sample-cluster-java/pom.xml +++ b/akka-sample-cluster-java/pom.xml @@ -11,7 +11,7 @@ UTF-8 - 2.9.0 + 2.9.2 2.1.0 diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/CborSerializable.java b/akka-sample-cluster-java/src/main/java/sample/cluster/CborSerializable.java index e16013c5..0ae71a10 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/CborSerializable.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/CborSerializable.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2019 Lightbend Inc. + * Copyright (C) 2009-2024 Lightbend Inc. */ package sample.cluster; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/simple/App.java b/akka-sample-cluster-java/src/main/java/sample/cluster/simple/App.java index 724cf58f..25d890e5 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/simple/App.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/simple/App.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.simple; import akka.actor.typed.ActorSystem; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/simple/ClusterListener.java b/akka-sample-cluster-java/src/main/java/sample/cluster/simple/ClusterListener.java index 73ff1992..7fa5eaef 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/simple/ClusterListener.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/simple/ClusterListener.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.simple; import akka.actor.typed.ActorRef; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/App.java b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/App.java index a6f244a1..4490c70f 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/App.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/App.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/AppOneMaster.java b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/AppOneMaster.java index 32864560..d6e1d3e6 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/AppOneMaster.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/AppOneMaster.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsAggregator.java b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsAggregator.java index 0950caa5..79152b20 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsAggregator.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsAggregator.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats; import java.time.Duration; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsClient.java b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsClient.java index 4ca14758..a8b5db69 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsClient.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsClient.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats; import akka.actor.typed.ActorRef; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsService.java b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsService.java index 5eafccc8..6bdef3a3 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsService.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsService.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats; import akka.actor.typed.ActorRef; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsWorker.java b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsWorker.java index d19353b0..afb555cb 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsWorker.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/stats/StatsWorker.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats; import java.time.Duration; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/App.java b/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/App.java index cf8cb021..7e92fb58 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/App.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/App.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.transformation; import akka.actor.typed.ActorSystem; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/Frontend.java b/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/Frontend.java index 3b29ce6d..e4dcb4fd 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/Frontend.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/Frontend.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.transformation; import java.time.Duration; diff --git a/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/Worker.java b/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/Worker.java index 8e306b35..b16a95b5 100644 --- a/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/Worker.java +++ b/akka-sample-cluster-java/src/main/java/sample/cluster/transformation/Worker.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.transformation; import akka.actor.typed.ActorRef; diff --git a/akka-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSingleMasterSpec.scala b/akka-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSingleMasterSpec.scala index 388376f4..ebf52292 100644 --- a/akka-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSingleMasterSpec.scala +++ b/akka-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSingleMasterSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats import akka.actor.testkit.typed.scaladsl.TestProbe diff --git a/akka-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala b/akka-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala index 2acb0bf9..4b2a145c 100644 --- a/akka-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala +++ b/akka-sample-cluster-java/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats import akka.actor.testkit.typed.scaladsl.TestProbe diff --git a/akka-sample-cluster-scala/README.md b/akka-sample-cluster-scala/README.md index 1456d276..f4b60abf 100644 --- a/akka-sample-cluster-scala/README.md +++ b/akka-sample-cluster-scala/README.md @@ -157,3 +157,11 @@ StatsSampleOneMaster starts 4 actor systems (cluster members) in the same JVM pr Tests can be found in [src/multi-jvm](src/multi-jvm). You can run them by typing `sbt multi-jvm:test`. +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-cluster-scala/build.sbt b/akka-sample-cluster-scala/build.sbt index 8868105f..36a99c77 100644 --- a/akka-sample-cluster-scala/build.sbt +++ b/akka-sample-cluster-scala/build.sbt @@ -1,7 +1,7 @@ import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val AkkaDiagnosticsVersion = "2.1.0" val LogbackClassicVersion = "1.2.11" val ScalaTestVersion = "3.1.1" diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/CborSerializable.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/CborSerializable.scala index 117ea139..0e4cb9ce 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/CborSerializable.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/CborSerializable.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster /** diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/simple/App.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/simple/App.scala index 9fcf4753..31e01740 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/simple/App.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/simple/App.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.simple import akka.actor.typed.scaladsl.Behaviors diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/simple/ClusterListener.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/simple/ClusterListener.scala index ad5918f5..233ccd96 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/simple/ClusterListener.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/simple/ClusterListener.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.simple import akka.actor.typed.ActorRef diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/App.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/App.scala index 79a74358..967b8c1c 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/App.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/App.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats import akka.actor.typed.ActorSystem diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/AppOneMaster.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/AppOneMaster.scala index bab99b6f..2e06c3b8 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/AppOneMaster.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/AppOneMaster.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats import akka.actor.typed.receptionist.Receptionist diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsClient.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsClient.scala index e7804ba4..6194ab3d 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsClient.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsClient.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2019 Lightbend Inc. + * Copyright (C) 2009-2024 Lightbend Inc. */ package sample.cluster.stats diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsService.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsService.scala index 6b3037ca..181142dd 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsService.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsService.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats import akka.actor.typed.ActorRef diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsWorker.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsWorker.scala index 854f0a32..04c04704 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsWorker.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/stats/StatsWorker.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats import akka.actor.typed.ActorRef diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/App.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/App.scala index 32ea700f..1f8d5675 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/App.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/App.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.transformation import akka.actor.typed.{ActorSystem, Behavior} diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/Frontend.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/Frontend.scala index fafb40f2..9a5d831f 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/Frontend.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/Frontend.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.transformation import scala.concurrent.duration._ diff --git a/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/Worker.scala b/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/Worker.scala index ea48fbf8..e042e5a6 100644 --- a/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/Worker.scala +++ b/akka-sample-cluster-scala/src/main/scala/sample/cluster/transformation/Worker.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.transformation import akka.actor.typed.ActorRef diff --git a/akka-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSingleMasterSpec.scala b/akka-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSingleMasterSpec.scala index 6380e3bc..ab3ec773 100644 --- a/akka-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSingleMasterSpec.scala +++ b/akka-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSingleMasterSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats import akka.actor.testkit.typed.scaladsl.TestProbe diff --git a/akka-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala b/akka-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala index 39532a8c..8b283d75 100644 --- a/akka-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala +++ b/akka-sample-cluster-scala/src/multi-jvm/scala/sample/cluster/stats/StatsSampleSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.cluster.stats import akka.actor.testkit.typed.scaladsl.TestProbe diff --git a/akka-sample-cqrs-java/README.md b/akka-sample-cqrs-java/README.md index 9bbf8cfe..13c01ee1 100644 --- a/akka-sample-cqrs-java/README.md +++ b/akka-sample-cqrs-java/README.md @@ -1,3 +1,12 @@ # Akka CQRS - Java Sample -This example has been replaced by the [tutorial in the Akka Platform Guide](https://developer.lightbend.com/docs/akka-platform-guide/microservices-tutorial/index.html). \ No newline at end of file +This example has been replaced by the [tutorial in the Akka Platform Guide](https://developer.lightbend.com/docs/akka-platform-guide/microservices-tutorial/index.html). + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-cqrs-scala/README.md b/akka-sample-cqrs-scala/README.md index 1e44b620..6fdfe7b7 100644 --- a/akka-sample-cqrs-scala/README.md +++ b/akka-sample-cqrs-scala/README.md @@ -1,3 +1,12 @@ # Akka CQRS - Scala Sample -This example has been replaced by the [tutorial in the Akka Platform Guide](https://developer.lightbend.com/docs/akka-platform-guide/microservices-tutorial/index.html). \ No newline at end of file +This example has been replaced by the [tutorial in the Akka Platform Guide](https://developer.lightbend.com/docs/akka-platform-guide/microservices-tutorial/index.html). + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-distributed-data-java/README.md b/akka-sample-distributed-data-java/README.md index fc7176d3..d23a22ca 100644 --- a/akka-sample-distributed-data-java/README.md +++ b/akka-sample-distributed-data-java/README.md @@ -97,3 +97,12 @@ Open [ReplicatedMetrics.java](src/main/java/sample/distributeddata/ReplicatedMet The multi-node test for the `ReplicatedCache` can be found in [ReplicatedMetricsSpec.scala](src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala). Note that there are some [Limitations](https://doc.akka.io/docs/akka/2.6/typed/distributed-data.html#limitations) that you should be aware of. For example, Akka Distributed Data is not intended for _Big Data_. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-distributed-data-java/build.sbt b/akka-sample-distributed-data-java/build.sbt index 7159203f..a0ecdc9c 100644 --- a/akka-sample-distributed-data-java/build.sbt +++ b/akka-sample-distributed-data-java/build.sbt @@ -1,7 +1,7 @@ import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val AkkaDiagnosticsVersion = "2.1.0" val LogbackClassicVersion = "1.2.11" val ScalaTestVersion = "3.1.1" diff --git a/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ReplicatedCache.java b/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ReplicatedCache.java index 42c72e75..78c2e4e0 100644 --- a/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ReplicatedCache.java +++ b/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ReplicatedCache.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata; import static akka.cluster.ddata.typed.javadsl.Replicator.readLocal; diff --git a/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ReplicatedMetrics.java b/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ReplicatedMetrics.java index 1f619347..f9563389 100644 --- a/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ReplicatedMetrics.java +++ b/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ReplicatedMetrics.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata; import static akka.cluster.ddata.typed.javadsl.Replicator.writeLocal; diff --git a/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ShoppingCart.java b/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ShoppingCart.java index 46c16e10..66fda456 100644 --- a/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ShoppingCart.java +++ b/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/ShoppingCart.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata; import java.time.Duration; diff --git a/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/VotingService.java b/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/VotingService.java index c302d402..09f940c6 100644 --- a/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/VotingService.java +++ b/akka-sample-distributed-data-java/src/main/java/sample/distributeddata/VotingService.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata; import java.time.Duration; diff --git a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ReplicatedCacheSpec.scala b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ReplicatedCacheSpec.scala index 4216ee6b..20bdb22c 100644 --- a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ReplicatedCacheSpec.scala +++ b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ReplicatedCacheSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import java.util.Optional diff --git a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala index 5e01c425..d0870525 100644 --- a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala +++ b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import java.time.Duration diff --git a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/STMultiNodeSpec.scala b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/STMultiNodeSpec.scala index 0daad1df..83dd9854 100644 --- a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/STMultiNodeSpec.scala +++ b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/STMultiNodeSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import akka.remote.testkit.MultiNodeSpecCallbacks diff --git a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ShoppingCartSpec.scala b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ShoppingCartSpec.scala index 64c1ec3c..4151c38b 100644 --- a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ShoppingCartSpec.scala +++ b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/ShoppingCartSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import scala.concurrent.duration._ diff --git a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/VotingServiceSpec.scala b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/VotingServiceSpec.scala index b38721a1..998b1909 100644 --- a/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/VotingServiceSpec.scala +++ b/akka-sample-distributed-data-java/src/multi-jvm/scala/sample/distributeddata/VotingServiceSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import java.math.BigInteger diff --git a/akka-sample-distributed-data-scala/README.md b/akka-sample-distributed-data-scala/README.md index 2800b13d..9295e4ba 100644 --- a/akka-sample-distributed-data-scala/README.md +++ b/akka-sample-distributed-data-scala/README.md @@ -93,3 +93,12 @@ Open [ReplicatedMetrics.scala](src/main/scala/sample/distributeddata/ReplicatedM The multi-node test for the `ReplicatedCache` can be found in [ReplicatedMetricsSpec.scala](src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala). Note that there are some [Limitations](https://doc.akka.io/docs/akka/2.6/typed/distributed-data.html#limitations) that you should be aware of. For example, Akka Distributed Data is not intended for _Big Data_. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-distributed-data-scala/build.sbt b/akka-sample-distributed-data-scala/build.sbt index f7324baa..78bf5592 100644 --- a/akka-sample-distributed-data-scala/build.sbt +++ b/akka-sample-distributed-data-scala/build.sbt @@ -1,7 +1,7 @@ import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val AkkaDiagnosticsVersion = "2.1.0" val LogbackClassicVersion = "1.2.11" val ScalaTestVersion = "3.1.1" diff --git a/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ReplicatedCache.scala b/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ReplicatedCache.scala index f3445725..62d3461b 100644 --- a/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ReplicatedCache.scala +++ b/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ReplicatedCache.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import akka.actor.typed.ActorRef diff --git a/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ReplicatedMetrics.scala b/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ReplicatedMetrics.scala index 293691a3..e52efbf6 100644 --- a/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ReplicatedMetrics.scala +++ b/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ReplicatedMetrics.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import java.lang.management.ManagementFactory diff --git a/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ShoppingCart.scala b/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ShoppingCart.scala index 04eac80c..e01071b8 100644 --- a/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ShoppingCart.scala +++ b/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/ShoppingCart.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import scala.concurrent.duration._ diff --git a/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/VotingService.scala b/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/VotingService.scala index 6d808548..56c4fe2d 100644 --- a/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/VotingService.scala +++ b/akka-sample-distributed-data-scala/src/main/scala/sample/distributeddata/VotingService.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import scala.concurrent.duration._ diff --git a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ReplicatedCacheSpec.scala b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ReplicatedCacheSpec.scala index ccdfabf4..885d9fd2 100644 --- a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ReplicatedCacheSpec.scala +++ b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ReplicatedCacheSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import scala.concurrent.duration._ diff --git a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala index 55362332..5d0f041c 100644 --- a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala +++ b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ReplicatedMetricsSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import scala.concurrent.duration._ diff --git a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/STMultiNodeSpec.scala b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/STMultiNodeSpec.scala index 0daad1df..83dd9854 100644 --- a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/STMultiNodeSpec.scala +++ b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/STMultiNodeSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import akka.remote.testkit.MultiNodeSpecCallbacks diff --git a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ShoppingCartSpec.scala b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ShoppingCartSpec.scala index 91f3dd14..e1f2a543 100644 --- a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ShoppingCartSpec.scala +++ b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/ShoppingCartSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import scala.concurrent.duration._ diff --git a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/VotingServiceSpec.scala b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/VotingServiceSpec.scala index 1582d1cf..ed07838a 100644 --- a/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/VotingServiceSpec.scala +++ b/akka-sample-distributed-data-scala/src/multi-jvm/scala/sample/distributeddata/VotingServiceSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.distributeddata import scala.concurrent.duration._ diff --git a/akka-sample-distributed-workers-scala/README.md b/akka-sample-distributed-workers-scala/README.md index f5d62824..df9b8eec 100644 --- a/akka-sample-distributed-workers-scala/README.md +++ b/akka-sample-distributed-workers-scala/README.md @@ -293,3 +293,12 @@ and You can also find a good overview of the various modules that make up Akka in [this section of the official documentation](http://doc.akka.io/docs/akka/current/scala/guide/modules.html#cluster-singleton) + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-distributed-workers-scala/build.sbt b/akka-sample-distributed-workers-scala/build.sbt index d874ca5f..1d00f160 100644 --- a/akka-sample-distributed-workers-scala/build.sbt +++ b/akka-sample-distributed-workers-scala/build.sbt @@ -3,7 +3,7 @@ name := "akka-distributed-workers" version := "1.0" scalaVersion := "2.13.12" -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val CassandraPluginVersion = "1.2.0" val AkkaDiagnosticsVersion = "2.1.0" val LogbackClassicVersion = "1.2.11" diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/CborSerializable.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/CborSerializable.scala index cc8f8881..0f430386 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/CborSerializable.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/CborSerializable.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker /** diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/FrontEnd.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/FrontEnd.scala index 8839ee96..bc787328 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/FrontEnd.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/FrontEnd.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker import java.util.UUID diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/Main.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/Main.scala index f79b91d5..79125c88 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/Main.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/Main.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker import java.io.File diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/Work.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/Work.scala index db382486..149bf200 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/Work.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/Work.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker case class Work(workId: String, job: Int) extends CborSerializable diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkExecutor.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkExecutor.scala index d69564d4..59648b71 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkExecutor.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkExecutor.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker import java.util.concurrent.ThreadLocalRandom diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkManager.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkManager.scala index f0ace8ae..2bf701c4 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkManager.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkManager.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker import akka.Done diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkManagerSingleton.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkManagerSingleton.scala index 1e7a1fac..8277a593 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkManagerSingleton.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkManagerSingleton.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker import akka.actor.typed.ActorRef diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkState.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkState.scala index c6a7ce52..ee549339 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkState.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/WorkState.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker import scala.collection.immutable.Queue diff --git a/akka-sample-distributed-workers-scala/src/main/scala/worker/Worker.scala b/akka-sample-distributed-workers-scala/src/main/scala/worker/Worker.scala index 9963b7d6..872c857f 100644 --- a/akka-sample-distributed-workers-scala/src/main/scala/worker/Worker.scala +++ b/akka-sample-distributed-workers-scala/src/main/scala/worker/Worker.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package worker diff --git a/akka-sample-fsm-java/README.md b/akka-sample-fsm-java/README.md index 9c9a6dab..657b31f5 100644 --- a/akka-sample-fsm-java/README.md +++ b/akka-sample-fsm-java/README.md @@ -9,3 +9,12 @@ It illustrates how the behaviors and transitions can be defined with Akka Typed. Start the application by typing `mvn compile exec:java -Dexec.mainClass="sample.DiningHakkers"`. In the log output you can see the actions of the `Hakker` actors. Read more about Akka Typed in [the documentation](http://doc.akka.io/docs/akka/2.6/). + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-fsm-java/pom.xml b/akka-sample-fsm-java/pom.xml index 1478eb81..d158e580 100644 --- a/akka-sample-fsm-java/pom.xml +++ b/akka-sample-fsm-java/pom.xml @@ -6,7 +6,7 @@ UTF-8 - 2.9.0 + 2.9.2 2.1.0 diff --git a/akka-sample-fsm-java/src/main/java/sample/Chopstick.java b/akka-sample-fsm-java/src/main/java/sample/Chopstick.java index 5994025a..0bd71898 100644 --- a/akka-sample-fsm-java/src/main/java/sample/Chopstick.java +++ b/akka-sample-fsm-java/src/main/java/sample/Chopstick.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample; import akka.actor.typed.ActorRef; diff --git a/akka-sample-fsm-java/src/main/java/sample/DiningHakkers.java b/akka-sample-fsm-java/src/main/java/sample/DiningHakkers.java index d8ab9668..448e3215 100644 --- a/akka-sample-fsm-java/src/main/java/sample/DiningHakkers.java +++ b/akka-sample-fsm-java/src/main/java/sample/DiningHakkers.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample; import akka.NotUsed; diff --git a/akka-sample-fsm-java/src/main/java/sample/Hakker.java b/akka-sample-fsm-java/src/main/java/sample/Hakker.java index 7cd74f26..9146db8c 100644 --- a/akka-sample-fsm-java/src/main/java/sample/Hakker.java +++ b/akka-sample-fsm-java/src/main/java/sample/Hakker.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample; import akka.actor.typed.ActorRef; diff --git a/akka-sample-fsm-scala/README.md b/akka-sample-fsm-scala/README.md index 923d966e..8fe8fe32 100644 --- a/akka-sample-fsm-scala/README.md +++ b/akka-sample-fsm-scala/README.md @@ -10,3 +10,11 @@ Start the application by typing `sbt "runMain sample.DiningHakkers"`. In the log Read more about Akka Typed in [the documentation](http://doc.akka.io/docs/akka/2.6/). +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-fsm-scala/build.sbt b/akka-sample-fsm-scala/build.sbt index 83e4c381..1aca5b91 100644 --- a/akka-sample-fsm-scala/build.sbt +++ b/akka-sample-fsm-scala/build.sbt @@ -1,7 +1,7 @@ organization := "com.lightbend.akka.samples" name := "akka-sample-fsm-scala" -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val LogbackClassicVersion = "1.2.11" val AkkaDiagnosticsVersion = "2.1.0" diff --git a/akka-sample-fsm-scala/src/main/scala/sample/DiningHakkers.scala b/akka-sample-fsm-scala/src/main/scala/sample/DiningHakkers.scala index 59e45fae..337210ff 100644 --- a/akka-sample-fsm-scala/src/main/scala/sample/DiningHakkers.scala +++ b/akka-sample-fsm-scala/src/main/scala/sample/DiningHakkers.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample import akka.NotUsed diff --git a/akka-sample-kafka-to-sharding-scala/README.md b/akka-sample-kafka-to-sharding-scala/README.md index 891877e4..c60274de 100644 --- a/akka-sample-kafka-to-sharding-scala/README.md +++ b/akka-sample-kafka-to-sharding-scala/README.md @@ -216,3 +216,11 @@ We've now demonstrated two things: * Keeping the processing local, where ever the Kafka partition is consumed the shard will be moved to that location * The state for each entity is globally accessible from all nodes +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-kafka-to-sharding-scala/build.sbt b/akka-sample-kafka-to-sharding-scala/build.sbt index c8160551..9fc4e121 100644 --- a/akka-sample-kafka-to-sharding-scala/build.sbt +++ b/akka-sample-kafka-to-sharding-scala/build.sbt @@ -1,4 +1,4 @@ -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val AlpakkaKafkaVersion = "5.0.0" val AkkaManagementVersion = "1.5.0" val AkkaHttpVersion = "10.6.0" diff --git a/akka-sample-kafka-to-sharding-scala/client/src/main/scala/client/ClientApp.scala b/akka-sample-kafka-to-sharding-scala/client/src/main/scala/client/ClientApp.scala index 8254f0b5..750d1b75 100644 --- a/akka-sample-kafka-to-sharding-scala/client/src/main/scala/client/ClientApp.scala +++ b/akka-sample-kafka-to-sharding-scala/client/src/main/scala/client/ClientApp.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package client import akka.actor.ActorSystem diff --git a/akka-sample-kafka-to-sharding-scala/kafka/src/main/scala/sample/sharding/embeddedkafka/KafkaBroker.scala b/akka-sample-kafka-to-sharding-scala/kafka/src/main/scala/sample/sharding/embeddedkafka/KafkaBroker.scala index 7e5c81c1..a18d05b5 100644 --- a/akka-sample-kafka-to-sharding-scala/kafka/src/main/scala/sample/sharding/embeddedkafka/KafkaBroker.scala +++ b/akka-sample-kafka-to-sharding-scala/kafka/src/main/scala/sample/sharding/embeddedkafka/KafkaBroker.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.sharding.embeddedkafka import net.manub.embeddedkafka.{EmbeddedKafka, EmbeddedKafkaConfig} diff --git a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/CborSerializable.scala b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/CborSerializable.scala index d07bac69..9946dc03 100644 --- a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/CborSerializable.scala +++ b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/CborSerializable.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.sharding.kafka // For internal messages. External via gRPC/Kafka use protobuf diff --git a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/Main.scala b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/Main.scala index a88c6360..02bdd68c 100644 --- a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/Main.scala +++ b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/Main.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.sharding.kafka import akka.actor.typed.scaladsl.adapter._ diff --git a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/ProcessorSettings.scala b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/ProcessorSettings.scala index a47bc75c..7af10ced 100644 --- a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/ProcessorSettings.scala +++ b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/ProcessorSettings.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.sharding.kafka import akka.actor.ActorSystem diff --git a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserEvents.scala b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserEvents.scala index 28657059..aa0fc966 100644 --- a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserEvents.scala +++ b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserEvents.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.sharding.kafka import akka.Done diff --git a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserEventsKafkaProcessor.scala b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserEventsKafkaProcessor.scala index f2efcec6..44e93054 100644 --- a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserEventsKafkaProcessor.scala +++ b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserEventsKafkaProcessor.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.sharding.kafka import scala.concurrent.ExecutionContext diff --git a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserGrpcService.scala b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserGrpcService.scala index 2e947c6e..1f299536 100644 --- a/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserGrpcService.scala +++ b/akka-sample-kafka-to-sharding-scala/processor/src/main/scala/sample/sharding/kafka/UserGrpcService.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.sharding.kafka import akka.actor.typed.scaladsl.AskPattern._ diff --git a/akka-sample-kafka-to-sharding-scala/producer/src/main/scala/sharding/kafka/producer/ProducerConfig.scala b/akka-sample-kafka-to-sharding-scala/producer/src/main/scala/sharding/kafka/producer/ProducerConfig.scala index 9d4c374e..fbeef100 100644 --- a/akka-sample-kafka-to-sharding-scala/producer/src/main/scala/sharding/kafka/producer/ProducerConfig.scala +++ b/akka-sample-kafka-to-sharding-scala/producer/src/main/scala/sharding/kafka/producer/ProducerConfig.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sharding.kafka.producer import com.typesafe.config.Config diff --git a/akka-sample-kafka-to-sharding-scala/producer/src/main/scala/sharding/kafka/producer/UserEventProducer.scala b/akka-sample-kafka-to-sharding-scala/producer/src/main/scala/sharding/kafka/producer/UserEventProducer.scala index a20418c4..2e6a93bc 100644 --- a/akka-sample-kafka-to-sharding-scala/producer/src/main/scala/sharding/kafka/producer/UserEventProducer.scala +++ b/akka-sample-kafka-to-sharding-scala/producer/src/main/scala/sharding/kafka/producer/UserEventProducer.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sharding.kafka.producer import akka.Done diff --git a/akka-sample-persistence-dc-java/README.md b/akka-sample-persistence-dc-java/README.md index 3b0e1759..4ec6de5b 100644 --- a/akka-sample-persistence-dc-java/README.md +++ b/akka-sample-persistence-dc-java/README.md @@ -15,3 +15,12 @@ akka-sample-persistence-dc-java * To add a thumbs-up for resource `akka` from user `u2` in DC `eu-west`: `curl -X POST http://127.0.0.1:22552/thumbs-up/akka/u2` * To get the users that gave thumbs-up for resource `akka`: `curl http://127.0.0.1:22552/thumbs-up/akka` * Note the port numbers 22551 for eu-west and 22552 for eu-central + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/CborSerializable.java b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/CborSerializable.java index 4f35ccbb..385fc47b 100644 --- a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/CborSerializable.java +++ b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/CborSerializable.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res; public interface CborSerializable { diff --git a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/MainApp.java b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/MainApp.java index ae804d9f..8b6d5740 100644 --- a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/MainApp.java +++ b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/MainApp.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res; import java.io.File; diff --git a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/auction/AuctionEntity.java b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/auction/AuctionEntity.java index cb2d5c98..63a520a6 100644 --- a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/auction/AuctionEntity.java +++ b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/auction/AuctionEntity.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.auction; import akka.actor.typed.ActorRef; diff --git a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/bank/BankAccount.java b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/bank/BankAccount.java index 3aaf2db4..604c37e9 100644 --- a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/bank/BankAccount.java +++ b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/bank/BankAccount.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.bank; diff --git a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/counter/ThumbsUpCounter.java b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/counter/ThumbsUpCounter.java index e8cdc1ed..a7a48144 100644 --- a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/counter/ThumbsUpCounter.java +++ b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/counter/ThumbsUpCounter.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.counter; import akka.actor.typed.ActorRef; diff --git a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/counter/ThumbsUpHttp.java b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/counter/ThumbsUpHttp.java index 0c361548..a6eae2b4 100644 --- a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/counter/ThumbsUpHttp.java +++ b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/counter/ThumbsUpHttp.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.counter; import akka.NotUsed; diff --git a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/movielist/MovieWatchList.java b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/movielist/MovieWatchList.java index 3198c6b2..a247820a 100644 --- a/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/movielist/MovieWatchList.java +++ b/akka-sample-persistence-dc-java/src/main/java/sample/persistence/res/movielist/MovieWatchList.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.movielist; import akka.actor.typed.ActorRef; diff --git a/akka-sample-persistence-dc-java/src/test/java/sample/persisetnce/multidc/SerializationSpec.java b/akka-sample-persistence-dc-java/src/test/java/sample/persisetnce/multidc/SerializationSpec.java index e53cae8e..39ef228e 100644 --- a/akka-sample-persistence-dc-java/src/test/java/sample/persisetnce/multidc/SerializationSpec.java +++ b/akka-sample-persistence-dc-java/src/test/java/sample/persisetnce/multidc/SerializationSpec.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persisetnce.multidc; import akka.actor.testkit.typed.javadsl.TestKitJunitResource; diff --git a/akka-sample-persistence-dc-scala/README.md b/akka-sample-persistence-dc-scala/README.md index a99799b9..502c6aaa 100644 --- a/akka-sample-persistence-dc-scala/README.md +++ b/akka-sample-persistence-dc-scala/README.md @@ -17,3 +17,12 @@ to run a replica per datacenter. * To add a thumbs-up for resource `akka` from user `u2` in DC `eu-west`: `curl -X POST http://127.0.0.1:22552/thumbs-up/akka/u2` * To get the users that gave thumbs-up for resource `akka`: `curl http://127.0.0.1:22552/thumbs-up/akka` * Note the port numbers 22551 for eu-west and 22552 for eu-central + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/CborSerializable.scala b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/CborSerializable.scala index 65280516..1d308235 100644 --- a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/CborSerializable.scala +++ b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/CborSerializable.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res trait CborSerializable diff --git a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/MainApp.scala b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/MainApp.scala index ebd50502..647fdb3a 100644 --- a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/MainApp.scala +++ b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/MainApp.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res import java.io.File diff --git a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/auction/Auction.scala b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/auction/Auction.scala index 9681b274..8d2484b8 100644 --- a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/auction/Auction.scala +++ b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/auction/Auction.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.auction import java.time.Instant diff --git a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/bank/BankAccount.scala b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/bank/BankAccount.scala index 68f63a2a..b974df48 100644 --- a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/bank/BankAccount.scala +++ b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/bank/BankAccount.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.bank import akka.Done diff --git a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/counter/ThumbsUpCounter.scala b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/counter/ThumbsUpCounter.scala index d29448e0..164821ce 100644 --- a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/counter/ThumbsUpCounter.scala +++ b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/counter/ThumbsUpCounter.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.counter import akka.actor.typed.scaladsl.Behaviors diff --git a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/counter/ThumbsUpHttp.scala b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/counter/ThumbsUpHttp.scala index 70a4babd..407e5ae6 100644 --- a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/counter/ThumbsUpHttp.scala +++ b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/counter/ThumbsUpHttp.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.counter import akka.actor.typed.ActorSystem diff --git a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/movielist/MovieWatchList.scala b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/movielist/MovieWatchList.scala index 1a3d8950..400b2ae7 100644 --- a/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/movielist/MovieWatchList.scala +++ b/akka-sample-persistence-dc-scala/src/main/scala/sample/persistence/res/movielist/MovieWatchList.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence.res.movielist import akka.actor.typed.{ActorRef, Behavior} diff --git a/akka-sample-persistence-java/README.md b/akka-sample-persistence-java/README.md index 6642514c..46bdbd04 100644 --- a/akka-sample-persistence-java/README.md +++ b/akka-sample-persistence-java/README.md @@ -18,3 +18,12 @@ mvn test ``` The `ShoppingCart` application is expanded further in the `akka-sample-cqrs-java` sample. In that sample the events are tagged to be consumed by even processors to build other representations from the events, or publish the events to other services. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-persistence-java/pom.xml b/akka-sample-persistence-java/pom.xml index 533af84a..7d1ae4d9 100644 --- a/akka-sample-persistence-java/pom.xml +++ b/akka-sample-persistence-java/pom.xml @@ -18,7 +18,7 @@ UTF-8 - 2.9.0 + 2.9.2 2.1.0 diff --git a/akka-sample-persistence-java/src/main/java/sample/persistence/CborSerializable.java b/akka-sample-persistence-java/src/main/java/sample/persistence/CborSerializable.java index de210a3b..57f3f42f 100644 --- a/akka-sample-persistence-java/src/main/java/sample/persistence/CborSerializable.java +++ b/akka-sample-persistence-java/src/main/java/sample/persistence/CborSerializable.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence; /** diff --git a/akka-sample-persistence-java/src/main/java/sample/persistence/ShoppingCart.java b/akka-sample-persistence-java/src/main/java/sample/persistence/ShoppingCart.java index fbcde6ab..eb8bf2fc 100644 --- a/akka-sample-persistence-java/src/main/java/sample/persistence/ShoppingCart.java +++ b/akka-sample-persistence-java/src/main/java/sample/persistence/ShoppingCart.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence; import akka.actor.typed.ActorRef; diff --git a/akka-sample-persistence-java/src/test/java/sample/persistence/ShoppingCartTest.java b/akka-sample-persistence-java/src/test/java/sample/persistence/ShoppingCartTest.java index fa02e413..e0a0de47 100644 --- a/akka-sample-persistence-java/src/test/java/sample/persistence/ShoppingCartTest.java +++ b/akka-sample-persistence-java/src/test/java/sample/persistence/ShoppingCartTest.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence; import akka.actor.testkit.typed.javadsl.TestKitJunitResource; diff --git a/akka-sample-persistence-scala/README.md b/akka-sample-persistence-scala/README.md index beca4697..2c8231dc 100644 --- a/akka-sample-persistence-scala/README.md +++ b/akka-sample-persistence-scala/README.md @@ -19,3 +19,12 @@ sbt:akka-sample-persistence-scala> test ``` The `ShoppingCart` application is expanded further in the `akka-sample-cqrs-scala` sample. In that sample the events are tagged to be consumed by even processors to build other representations from the events, or publish the events to other services. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-persistence-scala/build.sbt b/akka-sample-persistence-scala/build.sbt index 14a15b6a..45dbc480 100644 --- a/akka-sample-persistence-scala/build.sbt +++ b/akka-sample-persistence-scala/build.sbt @@ -2,7 +2,7 @@ organization := "com.lightbend.akka.samples" name := "akka-sample-persistence-scala" scalaVersion := "2.13.12" -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val AkkaDiagnosticsVersion = "2.1.0" val LogbackClassicVersion = "1.2.11" val ScalaTestVersion = "3.1.1" diff --git a/akka-sample-persistence-scala/src/main/scala/sample/persistence/CborSerializable.scala b/akka-sample-persistence-scala/src/main/scala/sample/persistence/CborSerializable.scala index 15b5bb92..ae934407 100644 --- a/akka-sample-persistence-scala/src/main/scala/sample/persistence/CborSerializable.scala +++ b/akka-sample-persistence-scala/src/main/scala/sample/persistence/CborSerializable.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence /** diff --git a/akka-sample-persistence-scala/src/main/scala/sample/persistence/ShoppingCart.scala b/akka-sample-persistence-scala/src/main/scala/sample/persistence/ShoppingCart.scala index e8881525..91c64d18 100644 --- a/akka-sample-persistence-scala/src/main/scala/sample/persistence/ShoppingCart.scala +++ b/akka-sample-persistence-scala/src/main/scala/sample/persistence/ShoppingCart.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence import java.time.Instant diff --git a/akka-sample-persistence-scala/src/test/scala/sample/persistence/ShoppingCartSpec.scala b/akka-sample-persistence-scala/src/test/scala/sample/persistence/ShoppingCartSpec.scala index b64e6144..005b8259 100644 --- a/akka-sample-persistence-scala/src/test/scala/sample/persistence/ShoppingCartSpec.scala +++ b/akka-sample-persistence-scala/src/test/scala/sample/persistence/ShoppingCartSpec.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.persistence import java.util.UUID diff --git a/akka-sample-sharding-java/README.md b/akka-sample-sharding-java/README.md index 8022a77f..7e671601 100644 --- a/akka-sample-sharding-java/README.md +++ b/akka-sample-sharding-java/README.md @@ -183,3 +183,12 @@ For example: ### Shutting down Shut down one of the nodes by pressing 'ctrl-c' in one of the terminal windows. The other nodes will detect the failure after a while, which you can see in the log output in the other terminals. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-sharding-java/build.sbt b/akka-sample-sharding-java/build.sbt index 19fbe73d..5fab0f1a 100644 --- a/akka-sample-sharding-java/build.sbt +++ b/akka-sample-sharding-java/build.sbt @@ -1,5 +1,5 @@ -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val AkkaHttpVersion = "10.6.0" val LogbackVersion = "1.2.11" diff --git a/akka-sample-sharding-java/killrweather-fog/pom.xml b/akka-sample-sharding-java/killrweather-fog/pom.xml index 13e4b710..f5e0de14 100644 --- a/akka-sample-sharding-java/killrweather-fog/pom.xml +++ b/akka-sample-sharding-java/killrweather-fog/pom.xml @@ -18,7 +18,7 @@ UTF-8 - 2.9.0 + 2.9.2 10.6.0 2.1.0 diff --git a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Data.java b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Data.java index dbdcdaaa..7da6631e 100644 --- a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Data.java +++ b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Data.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather.fog; /** diff --git a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Fog.java b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Fog.java index df2cd78f..e5110fa3 100644 --- a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Fog.java +++ b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Fog.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather.fog; import akka.actor.typed.ActorSystem; diff --git a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/FogSettings.java b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/FogSettings.java index 98796f5a..89e60198 100644 --- a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/FogSettings.java +++ b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/FogSettings.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather.fog; import akka.actor.typed.ActorSystem; diff --git a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Guardian.java b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Guardian.java index 9d02500e..da346494 100644 --- a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Guardian.java +++ b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/Guardian.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather.fog; import akka.actor.typed.Behavior; diff --git a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/WeatherStation.java b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/WeatherStation.java index 42096803..b6b3e273 100644 --- a/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/WeatherStation.java +++ b/akka-sample-sharding-java/killrweather-fog/src/main/java/sample/killrweather/fog/WeatherStation.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather.fog; import akka.actor.typed.Behavior; diff --git a/akka-sample-sharding-java/killrweather/pom.xml b/akka-sample-sharding-java/killrweather/pom.xml index c50d416c..e8e88552 100644 --- a/akka-sample-sharding-java/killrweather/pom.xml +++ b/akka-sample-sharding-java/killrweather/pom.xml @@ -18,7 +18,7 @@ UTF-8 - 2.9.0 + 2.9.2 10.6.0 2.1.0 diff --git a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/CborSerializable.java b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/CborSerializable.java index f0567f30..1fc5074d 100644 --- a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/CborSerializable.java +++ b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/CborSerializable.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather; /** diff --git a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/Guardian.java b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/Guardian.java index 3d087da0..79fb3e30 100644 --- a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/Guardian.java +++ b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/Guardian.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather; import akka.actor.typed.Behavior; diff --git a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/KillrWeather.java b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/KillrWeather.java index f12dc0a7..121ee49d 100644 --- a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/KillrWeather.java +++ b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/KillrWeather.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather; import akka.actor.AddressFromURIString; diff --git a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherHttpServer.java b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherHttpServer.java index 62675d07..c8d0080a 100644 --- a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherHttpServer.java +++ b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherHttpServer.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather; import akka.actor.CoordinatedShutdown; diff --git a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherRoutes.java b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherRoutes.java index 41bc4811..12d7956d 100644 --- a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherRoutes.java +++ b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherRoutes.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather; import akka.actor.typed.ActorSystem; diff --git a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherStation.java b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherStation.java index d770e44c..122fb720 100644 --- a/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherStation.java +++ b/akka-sample-sharding-java/killrweather/src/main/java/sample/killrweather/WeatherStation.java @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather; import akka.actor.typed.ActorRef; diff --git a/akka-sample-sharding-scala/README.md b/akka-sample-sharding-scala/README.md index 534fb228..05939bda 100644 --- a/akka-sample-sharding-scala/README.md +++ b/akka-sample-sharding-scala/README.md @@ -179,3 +179,12 @@ For example: ### Shutting down Shut down one of the nodes by pressing 'ctrl-c' in one of the terminal windows. The other nodes will detect the failure after a while, which you can see in the log output in the other terminals. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/akka-sample-sharding-scala/build.sbt b/akka-sample-sharding-scala/build.sbt index 227aaefd..08a3c48b 100644 --- a/akka-sample-sharding-scala/build.sbt +++ b/akka-sample-sharding-scala/build.sbt @@ -1,5 +1,5 @@ -val AkkaVersion = "2.9.0" +val AkkaVersion = "2.9.2" val AkkaHttpVersion = "10.6.0" val AkkaDiagnostics = "2.1.0" val LogbackVersion = "1.2.11" diff --git a/akka-sample-sharding-scala/killrweather-fog/src/main/scala/sample/killrweather/fog/Fog.scala b/akka-sample-sharding-scala/killrweather-fog/src/main/scala/sample/killrweather/fog/Fog.scala index 4eb3917c..9175c3e2 100644 --- a/akka-sample-sharding-scala/killrweather-fog/src/main/scala/sample/killrweather/fog/Fog.scala +++ b/akka-sample-sharding-scala/killrweather-fog/src/main/scala/sample/killrweather/fog/Fog.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather.fog import akka.actor.typed.SupervisorStrategy diff --git a/akka-sample-sharding-scala/killrweather-fog/src/main/scala/sample/killrweather/fog/WeatherStation.scala b/akka-sample-sharding-scala/killrweather-fog/src/main/scala/sample/killrweather/fog/WeatherStation.scala index b1a0c1e1..ac9655ee 100644 --- a/akka-sample-sharding-scala/killrweather-fog/src/main/scala/sample/killrweather/fog/WeatherStation.scala +++ b/akka-sample-sharding-scala/killrweather-fog/src/main/scala/sample/killrweather/fog/WeatherStation.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather.fog import akka.actor.typed.Behavior diff --git a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/CborSerializable.scala b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/CborSerializable.scala index 1a787f62..25b2abaf 100644 --- a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/CborSerializable.scala +++ b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/CborSerializable.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather /** diff --git a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/Guardian.scala b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/Guardian.scala index b8ab98a1..96aa7e1c 100644 --- a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/Guardian.scala +++ b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/Guardian.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather import akka.actor.typed.Behavior diff --git a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/JacksonSerializers.scala b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/JacksonSerializers.scala index 369bd1e6..a7e69905 100644 --- a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/JacksonSerializers.scala +++ b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/JacksonSerializers.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2020 Lightbend Inc. + * Copyright (C) 2009-2024 Lightbend Inc. */ package sample.killrweather diff --git a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/JsonFormats.scala b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/JsonFormats.scala index 31a73896..c3f0c854 100644 --- a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/JsonFormats.scala +++ b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/JsonFormats.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather import spray.json.JsString diff --git a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/KillrWeather.scala b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/KillrWeather.scala index b5687c83..0a19f100 100644 --- a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/KillrWeather.scala +++ b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/KillrWeather.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather import akka.actor.AddressFromURIString diff --git a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherHttpServer.scala b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherHttpServer.scala index 605d3d51..bb8f31cc 100644 --- a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherHttpServer.scala +++ b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherHttpServer.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather import scala.util.{Failure, Success} diff --git a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherRoutes.scala b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherRoutes.scala index b0a726f3..b952e8f5 100644 --- a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherRoutes.scala +++ b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherRoutes.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather import scala.concurrent.Future diff --git a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherStation.scala b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherStation.scala index c15f39b2..9151dfab 100644 --- a/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherStation.scala +++ b/akka-sample-sharding-scala/killrweather/src/main/scala/sample/killrweather/WeatherStation.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ package sample.killrweather import akka.actor.typed.PostStop diff --git a/docs-gen/README.md b/docs-gen/README.md index 9adb2e22..261b8a74 100644 --- a/docs-gen/README.md +++ b/docs-gen/README.md @@ -1 +1,10 @@ These projects are mirrors of sample to convert `README.md` into Paradox documentation. + +--- + +The Akka family of projects is managed by teams at Lightbend with help from the community. + +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). \ No newline at end of file diff --git a/docs-gen/project/AkkaSamplePlugin.scala b/docs-gen/project/AkkaSamplePlugin.scala index bb8b6c28..e4eb51f9 100644 --- a/docs-gen/project/AkkaSamplePlugin.scala +++ b/docs-gen/project/AkkaSamplePlugin.scala @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2009-2024 Lightbend Inc. + */ import sbt._ import Keys._ import com.lightbend.paradox.sbt.ParadoxPlugin diff --git a/docs-gen/project/plugins.sbt b/docs-gen/project/plugins.sbt index c5ea6be7..7930fdab 100644 --- a/docs-gen/project/plugins.sbt +++ b/docs-gen/project/plugins.sbt @@ -1,2 +1,2 @@ // sbt-paradox, used for documentation -addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.4.0") +addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.10.6")