Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

chore: repository cleanup #306

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
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).
9 changes: 9 additions & 0 deletions akka-sample-cluster-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion akka-sample-cluster-java/build.sbt
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion akka-sample-cluster-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<akka.version>2.9.0</akka.version>
<akka.version>2.9.2</akka.version>
<akka-diagnostics.version>2.1.0</akka-diagnostics.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009-2019 Lightbend Inc. <https://www.lightbend.com>
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.simple;

import akka.actor.typed.ActorSystem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.simple;

import akka.actor.typed.ActorRef;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats;


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats;


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats;

import java.time.Duration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats;

import akka.actor.typed.ActorRef;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats;

import akka.actor.typed.ActorRef;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats;

import java.time.Duration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.transformation;

import akka.actor.typed.ActorSystem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.transformation;

import java.time.Duration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.transformation;

import akka.actor.typed.ActorRef;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

import akka.actor.testkit.typed.scaladsl.TestProbe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

import akka.actor.testkit.typed.scaladsl.TestProbe
Expand Down
8 changes: 8 additions & 0 deletions akka-sample-cluster-scala/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion akka-sample-cluster-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.simple

import akka.actor.typed.scaladsl.Behaviors
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.simple

import akka.actor.typed.ActorRef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

import akka.actor.typed.ActorSystem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

import akka.actor.typed.receptionist.Receptionist
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009-2019 Lightbend Inc. <https://www.lightbend.com>
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

import akka.actor.typed.ActorRef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

import akka.actor.typed.ActorRef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.transformation

import akka.actor.typed.{ActorSystem, Behavior}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.transformation

import scala.concurrent.duration._
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.transformation

import akka.actor.typed.ActorRef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

import akka.actor.testkit.typed.scaladsl.TestProbe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.cluster.stats

import akka.actor.testkit.typed.scaladsl.TestProbe
Expand Down
11 changes: 10 additions & 1 deletion akka-sample-cqrs-java/README.md
Original file line number Diff line number Diff line change
@@ -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).
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).
11 changes: 10 additions & 1 deletion akka-sample-cqrs-scala/README.md
Original file line number Diff line number Diff line change
@@ -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).
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).
9 changes: 9 additions & 0 deletions akka-sample-distributed-data-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion akka-sample-distributed-data-java/build.sbt
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata;

import static akka.cluster.ddata.typed.javadsl.Replicator.readLocal;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata;

import static akka.cluster.ddata.typed.javadsl.Replicator.writeLocal;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata;

import java.time.Duration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata;

import java.time.Duration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata

import java.util.Optional
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata

import java.time.Duration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata

import akka.remote.testkit.MultiNodeSpecCallbacks
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata

import scala.concurrent.duration._
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* Copyright (C) 2009-2024 Lightbend Inc. <https://www.lightbend.com>
*/
package sample.distributeddata

import java.math.BigInteger
Expand Down
9 changes: 9 additions & 0 deletions akka-sample-distributed-data-scala/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion akka-sample-distributed-data-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Loading
Loading