Skip to content

Instantly share code, notes, and snippets.

akka.cluster.split-brain-resolver.active-strategy=static-quorum
Cluster(system).registerOnMemberRemoved {
system.registerOnTermination(System.exit(-1))
system.scheduler.scheduleOnce(10.seconds)(System.exit(-1))(system.dispatcher)
system.shutdown()
}
akka.cluster.split-brain-resolver {
#One of the following: static-quorum, keep-majority, keep-oldest, keep-referee
active-strategy = off
stable-after = 20s
}