Akka cluster is a new (2.1+) functionality that allows one to build cluster capabilities on top of the Akka middleware.
Questions tagged [akka-cluster]
486 questions
5
votes
1 answer
Migration to Play! 2.5 leads to this error: NoSuchMethodError: akka.actor.LocalActorRefProvider.log()Lakka/event/LoggingAdapter
I'm updating my Play! scala application from 2.4 to 2.5.10 and I'm getting this runtime exception:
java.lang.NoSuchMethodError: akka.actor.LocalActorRefProvider.log()Lakka/event/LoggingAdapter;
The build.sbt part about Akka did not change and is as…

Simon
- 6,025
- 7
- 46
- 98
5
votes
1 answer
Running akka scheduler only once in a cluster
I have configured a Akka scheduler in my play application. It works fine but now the problem is I have two instances of same application running in a cluster. So scheduler is also running twice. I want it to run only once for the overall…

CodeGuru
- 726
- 1
- 6
- 13
5
votes
1 answer
In Akka.NET, (using Akka.Cluster) how to configure multiple seed nodes (Lighthouse) to know about each other?
If I want to have two Lighthouse seed nodes running on different PCs, where each should know about the other, how should I configure them? Although I have found mention of using multiple Lighthouse instances and seen non-seed node configurations…

foven
- 696
- 1
- 5
- 15
5
votes
2 answers
Akka cluster detecting Quarantined state
How can I detect Quarantined state from within the system being quarantined~?
I'm seeing this log below:
[warn] Remoting - Tried to associate with unreachable remote address [akka.tcp://Application@192.168.0.15:6000]. Address is now gated for 5000…

Chris
- 1,094
- 1
- 11
- 26
5
votes
2 answers
Akka Cluster with bind-port and bind-hostname
After configuring bind-hostname and bind-port in application.conf, as specified by the Akka FAQ, and bringing up the cluster, I'm receiving an error:
[ERROR] [07/09/2015 19:54:24.132] [default-akka.remote.default-remote-dispatcher-20]…

babbitt
- 871
- 11
- 22
5
votes
1 answer
Proper way to inject dependencies into clustered persistent Akka actors?
I'm using Akka Persistence with Cluster Sharding. What is the proper way to provide dependencies into such PersistentActor-s?
As far as I understand, passing them as constructor arguments is not possible, as Cluster Sharding is creating these…

John M
- 1,469
- 17
- 41
5
votes
1 answer
Akka remote routees hostname configuration issue
I am experiencing the akka remote feature for a tool I am making. Actually, I was able to make core and remote systems works in the same host with diferent ports. Note that my remote servers runs over a router, as explained in akka docs.
Now I am…

Raphael do Vale
- 931
- 2
- 11
- 28
5
votes
3 answers
How to add seed nodes to a running akka-cluster
I am trying to create a fault tolerant akka-cluster which will be deployed in AWS. Its a standard cluster with 3 seed-nodes SN1, SN2 and SN3 and multiple Akka-systems connected to one seed-node. The SN's have ASG's which will spin a new instance in…

user3869813
- 749
- 1
- 7
- 12
5
votes
2 answers
Akka Singleton - not accepting messages
It was me being stupid - I wasn't passing the indexer props into system creation. I'll leave the answer here in case anyone takes some benefit *
I'm creating a singleton and sending a message like this:
val indexerProps =…

Nick
- 1,845
- 3
- 15
- 22
4
votes
0 answers
How to run multiple Akka.NET Lighthouse seeds
On my way to use Akka.NET for a scalable application, I am trying to setup a cluster of Lighthouse seed nodes. I am testing 3 Lighthouse nodes as seed nodes, each running on the same machine with different ports. Following is my hocon config…

Babu James
- 2,740
- 4
- 33
- 50
4
votes
1 answer
Akka Cluster status Weakly Up
I read Akka document and found this
As mentioned before, if a node is unreachable then gossip convergence is not possible and therefore any leader actions are also not possible. By enabling akka.cluster.allow-weakly-up-members (enabled by default)…

Manh Do
- 43
- 3
4
votes
1 answer
Akka HTTP Code/Structural Patterns
I am just starting with Akka Http (and Scala) and was wondering if there are any well-defined patterns for structuring Akka code. In particular, I am looking for structural patterns for composing/aggregating routes dynamically. In particular, I'm…

MojoJojo
- 3,897
- 4
- 28
- 54
4
votes
1 answer
Flink TaskManager cannot connect to JobManager in docker swarm task
I cannot manage to make a TaskManager communicate with the JobManager on a docker swarm stack.
The content of the stack.yml file I use to docker stack deploy is:
version: "3"
services:
jobmanager:
image: affo/flink:1.1.3
ports:
-…

affo
- 453
- 3
- 15
4
votes
1 answer
Can a cluster have multiple singleton actors?
Can there be multiple different actors which are singletons in an Akka cluster?
For example, let's say I need a single entry point into multiple systems. I might want Singleton1 to be responsible for entry into System1 and Singleton2 to be…

Justin
- 6,031
- 11
- 48
- 82
4
votes
1 answer
Singleton cluster actor is not starting up
The following cluster singleton is not starting up.
commander = system.actorOf(
ClusterSingletonManager.props(Commander.props(this),
terminationMessage = PoisonPill.getInstance,
settings =…

Dyin
- 5,815
- 8
- 44
- 69