Registry / networking / akka-cluster-2-12

akka-cluster-2-12

JSON →
library2.8.8javamavenunverified

Akka Cluster provides a fault-tolerant, decentralized cluster membership service with automatic failure detection and leader election for building distributed applications.

<dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-cluster_2.12</artifactId> <version>2.8.8</version> </dependency>
INSTALL
IMPORT
SIG · AKKA-CLUSTER-2-12
A
akka-cluster-2-12
networkingjavav2.8.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cluster
akka.cluster.Cluster

Initialize Akka Cluster and register a callback when the node joins the cluster.

import akka.cluster.Cluster; import akka.actor.ActorSystem; ActorSystem system = ActorSystem.create("ClusterSystem"); Cluster cluster = Cluster.get(system); cluster.registerOnMemberUp(() -> System.out.println("Member joined cluster"));
Debug
Known issues
breakingAkka Cluster requires Akka 2.6.x or later for Java 11+ compatibility; older versions may have issues with module system.
fix
Use Akka 2.8.x (latest) and ensure Java 11 or later.
affects: <2.6.0
Upgrade
Version history
2.8.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
38
Meta
2
OpenAI (training)
1
Resources
akka-cluster-2-12 — mvn dependency:get akka-cluster-2-12 · libregistry