Documentation

  • in

Version 2.5.16

Getting started

New to Akka, want to get up and running and learn the basics as fast as possible? Check out the get started section of the documentation!

Akka Modules

Akka Actors

At the core of Akka: A model for concurrency and distribution without all the pain of threading primitives.

Current version: 2.5.16

Scala

Reference API

Java

Reference API
  • sbt
  • Gradle
  • Maven
libraryDependencies ++= Seq(
  "com.typesafe.akka" %% "akka-actor" % "2.5.16",
  "com.typesafe.akka" %% "akka-testkit" % "2.5.16" % Test
)
dependencies {
  compile group: 'com.typesafe.akka', name: 'akka-actor_2.12', version: '2.5.16'
  testCompile group: 'com.typesafe.akka', name: 'akka-testkit_2.12', version: '2.5.16'
}
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-actor_2.12</artifactId>
  <version>2.5.16</version>
</dependency>
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-testkit_2.12</artifactId>
  <version>2.5.16</version>
  <scope>test</scope>
</dependency>

Akka Streams

An intuitive and safe way to do asynchronous, non-blocking backpressured stream processing.

Current version: 2.5.16

Scala

Reference API

Java

Reference API
  • sbt
  • Gradle
  • Maven
libraryDependencies ++= Seq(
  "com.typesafe.akka" %% "akka-stream" % "2.5.16",
  "com.typesafe.akka" %% "akka-stream-testkit" % "2.5.16" % Test
)
dependencies {
  compile group: 'com.typesafe.akka', name: 'akka-stream_2.12', version:'2.5.16'
  testCompile group: 'com.typesafe.akka', name: 'akka-stream-testkit_2.12', version:'2.5.16'
}
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-stream_2.12</artifactId>
  <version>2.5.16</version>
</dependency>
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-stream-testkit_2.12</artifactId>
  <version>2.5.16</version>
  <scope>test</scope>
</dependency>

Akka Http

Modern, fast, asynchronous, streaming-first HTTP server and client.

Current version: 10.1.5

Scala

Reference API

Java

Reference API
  • sbt
  • Gradle
  • Maven
libraryDependencies ++= Seq(
  "com.typesafe.akka" %% "akka-http" % "10.1.5",
  "com.typesafe.akka" %% "akka-http-testkit" % "10.1.5" % Test
)
dependencies {
  compile group: 'com.typesafe.akka', name: 'akka-http_2.12', version:'10.1.5'
  testCompile group: 'com.typesafe.akka', name: 'akka-http-testkit_2.12', version:'10.1.5'
}
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-http_2.12</artifactId>
  <version>10.1.5</version>
</dependency>
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-http-testkit_2.12</artifactId>
  <version>10.1.5</version>
  <scope>test</scope>
</dependency>

Akka Cluster

Achieve resilience and elasticity by distributing your system over multiple nodes.

Current version: 2.5.16

Scala

Reference API

Java

Reference API
  • sbt
  • Gradle
  • Maven
libraryDependencies +=
  "com.typesafe.akka" %% "akka-cluster" % "2.5.16"
dependencies {
  compile group: 'com.typesafe.akka', name: 'akka-cluster_2.12', version: '2.5.16'
}
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-cluster_2.12</artifactId>
  <version>2.5.16</version>
</dependency>

Cluster Sharding

Distribute your actors across the cluster based on their identity.

Current version: 2.5.16

Scala

Reference API

Java

Reference API
  • sbt
  • Gradle
  • Maven
libraryDependencies +=
  "com.typesafe.akka" %% "akka-cluster-sharding" %  "2.5.16"
dependencies {
  compile group: 'com.typesafe.akka', name: 'akka-cluster-sharding_2.12', version: '2.5.16'
}
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-cluster-sharding_2.12</artifactId>
  <version>2.5.16</version>
</dependency>

Distributed Data

Eventually consistent, highly read and write available, low latency data.

Current version: 2.5.16

Scala

Reference API

Java

Reference API
  • sbt
  • Gradle
  • Maven
libraryDependencies +=
  "com.typesafe.akka" %% "akka-distributed-data" % "2.5.16"
dependencies {
  compile group: 'com.typesafe.akka', name: 'akka-distributed-data_2.12', version: '2.5.16'
}
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-distributed-data_2.12</artifactId>
  <version>2.5.16</version>
</dependency>

Akka Persistence

Eventsourcing for actors allows them to reach the same state after restarts.

Current version: 2.5.16

Scala

Reference API

Java

Reference API
  • sbt
  • Gradle
  • Maven
libraryDependencies +=
  "com.typesafe.akka" %% "akka-persistence" % "2.5.16"
dependencies {
  compile group: 'com.typesafe.akka', name: 'akka-persistence_2.12', version: '2.5.16'
}
<dependency>
  <groupId>com.typesafe.akka</groupId>
  <artifactId>akka-persistence_2.12</artifactId>
  <version>2.5.16</version>
</dependency>

Alpakka

Akka Stream connectors for integrating with other technologies.

Scala and Java

Akka gRPC

Streaming gRPC servers and clients on top of Akka Streams.

Scala and Java

Commercial Addons

Commercial Addons, including split brain resolver, Multi-DC Persistence and much more.

Akka Management

Extensions for operating Akka systems on cloud systems (k8s, aws, ...)

Scala and Java

Information about other releases of Akka