Skip to content

Instantly share code, notes, and snippets.

@Aaronontheweb
Created February 18, 2016 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aaronontheweb/3520319c3c0fa4db9305 to your computer and use it in GitHub Desktop.
Save Aaronontheweb/3520319c3c0fa4db9305 to your computer and use it in GitHub Desktop.
Akka.Cluster HOCON debug-friendly
<hocon>
<![CDATA[
akka {
log-config-on-start = on
actor {
provider = "Akka.Cluster.ClusterActorRefProvider, Akka.Cluster"
}
remote {
log-remote-lifecycle-events = DEBUG
helios.tcp {
transport-class = "Akka.Remote.Transport.Helios.HeliosTcpTransport, Akka.Remote"
applied-adapters = []
transport-protocol = tcp
#will be populated with a dynamic host-name at runtime if left uncommented
#public-hostname = "POPULATE STATIC IP HERE"
hostname = "127.0.0.1"
port = 8080
}
transport-failure-detector {
implementation-class = "Akka.Remote.DeadlineFailureDetector,Akka.Remote"
heartbeat-interval = 400 s
acceptable-heartbeat-pause = 300000 s
monitored-by-nr-of-members = 5
expected-response-after = 5000 s
}
}
cluster {
seed-nodes = []
failure-detector {
implementation-class = "Akka.Remote.DeadlineFailureDetector,Akka.Remote"
heartbeat-interval = 400 s
acceptable-heartbeat-pause = 300000 s
monitored-by-nr-of-members = 5
expected-response-after = 5000 s
}
}
}
]]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment