Use akka-typed
2.5.7-M1
or later.
Blog Posts and their main classes that can be run with sbt or maven:
- Akka Typed: Hello World in the new API
- Java
- blog.classic.javadsl.HelloWorldApp1
- blog.typed.javadsl.HelloWorldApp1
- blog.classic.javadsl.HelloWorldApp2
- blog.typed.javadsl.HelloWorldApp2
- Scala
- blog.classic.scaladsl.HelloWorldApp1
- blog.typed.scaladsl.HelloWorldApp1
- blog.classic.scaladsl.HelloWorldApp2
- blog.typed.scaladsl.HelloWorldApp2
- Java
- Akka Typed: Coexistence
- Java
- blog.typed.javadsl.CoexistenceApp1
- blog.typed.javadsl.CoexistenceApp2
- Scala
- blog.typed.scaladsl.CoexistenceApp1
- blog.typed.scaladsl.CoexistenceApp2
- Java
- Akka Typed: Mutable vs. Immutable
- Java
- blog.typed.javadsl.MutableRoundRobinApp
- blog.typed.javadsl.ImmutableRoundRobinApp
- Scala
- blog.typed.scaladsl.MutableRoundRobinApp
- blog.typed.scaladsl.ImmutableRoundRobinApp
- Java
- Akka Typed: Supervision
- Java
- blog.typed.javadsl.FlakyWorkerApp
- Scala
- blog.typed.scaladsl.FlakyWorkerApp
- Java
- Akka Typed: Signal
- Java
- blog.typed.javadsl.FlakyWorkerApp2
- Scala
- blog.typed.scaladsl.FlakyWorkerApp2
- Java
- Akka Typed: Timers
- Java
- blog.typed.javadsl.BuncherApp
- Scala
- blog.typed.scaladsl.BuncherApp
- Java
- Akka Typed: New Cluster API
- Local router
- blog.typed.cluster.scaladsl.LocalRouterApp
- Cluster router
- sbt "runMain blog.typed.cluster.scaladsl.ClusterRouterApp 2551"
- sbt "runMain blog.typed.cluster.scaladsl.ClusterRouterApp 2552"
- sbt "runMain blog.typed.cluster.scaladsl.ClusterRouterApp 2553"
- Local router
- Akka Typed: New Cluster Tools API
- Distributed Data
- sbt "runMain blog.typed.cluster.scaladsl.CounterApp 2551"
- sbt "runMain blog.typed.cluster.scaladsl.CounterApp 2552"
- sbt "runMain blog.typed.cluster.scaladsl.CounterApp 2553"
- Singleton
- sbt "runMain blog.typed.cluster.scaladsl.SequenceNumberApp 2551"
- sbt "runMain blog.typed.cluster.scaladsl.SequenceNumberApp 2552"
- sbt "runMain blog.typed.cluster.scaladsl.SequenceNumberApp 2553"
- Sharding
- sbt "runMain blog.typed.cluster.scaladsl.ClusterShardingBlogPostApp cassandra"
- sbt "runMain blog.typed.cluster.scaladsl.ClusterShardingBlogPostApp 2551"
- sbt "runMain blog.typed.cluster.scaladsl.ClusterShardingBlogPostApp 2552"
- sbt "runMain blog.typed.cluster.scaladsl.ClusterShardingBlogPostApp 2553"
- Distributed Data
sbt run
Select the main class to run. Press ENTER to exit the system
mvn compile exec:java -Dexec.mainClass="blog.classic.javadsl.HelloWorldApp1"
Press ENTER to exit the system