Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Quorum split brain resolver for static akka cluster

License

NotificationsYou must be signed in to change notification settings

mbilski/akka-reasonable-downing

Repository files navigation

Maven Central

akka-reasonable-downing provides split brain resolver for static akka cluster using quorum strategy.

Setup

Add to yourbuild.sbt

libraryDependencies += "pl.immutables" %% "akka-reasonable-downing" % "1.2.0"

Configuration

akka {  cluster {    downing-provider-class = "pl.immutables.akka.reasonable.downing.StaticQuorumDowningProvider"    min-nr-of-members = ${akka.reasonable.downing.quorum-size}  }  reasonable.downing {    # the time to make a decision after the cluster is stable    stable-after = 7 seconds    # the N / 2 + 1 where N is number of nodes in a static cluster    quorum-size = 3    # list of the roles which be used in quorum. may be empty or absent.    quorum-roles = ["seed"]  }}

Demo

See the demohere.

License

This code is open source software licensed under theApache-2.0 license.


[8]ページ先頭

©2009-2025 Movatter.jp