2011-11-15 11:34:39 +01:00
|
|
|
#####################################
|
|
|
|
|
# Akka Remote Reference Config File #
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
|
|
# This the reference config file has all the default settings.
|
|
|
|
|
# Make your edits/overrides in your akka.conf.
|
|
|
|
|
|
|
|
|
|
akka {
|
|
|
|
|
|
|
|
|
|
remote {
|
2011-12-02 18:08:13 +01:00
|
|
|
transport = "akka.remote.netty.NettyRemoteSupport"
|
2011-11-25 12:02:25 +01:00
|
|
|
|
|
|
|
|
use-compression = off
|
2011-11-15 11:34:39 +01:00
|
|
|
|
|
|
|
|
secure-cookie = "" # Generate your own with '$AKKA_HOME/scripts/generate_config_with_secure_cookie.sh'
|
|
|
|
|
# or using 'akka.util.Crypt.generateSecureCookie'
|
|
|
|
|
|
2011-11-22 13:04:10 +01:00
|
|
|
remote-daemon-ack-timeout = 30s # Timeout for ACK of cluster operations, lik checking actor out etc.
|
2011-11-15 11:34:39 +01:00
|
|
|
|
2011-11-19 09:43:13 +01:00
|
|
|
use-passive-connections = on # Reuse inbound connections for outbound messages
|
2011-11-15 11:34:39 +01:00
|
|
|
|
|
|
|
|
failure-detector { # accrual failure detection config
|
|
|
|
|
threshold = 8 # defines the failure detector threshold
|
|
|
|
|
# A low threshold is prone to generate many wrong suspicions but ensures a
|
|
|
|
|
# quick detection in the event of a real crash. Conversely, a high threshold
|
|
|
|
|
# generates fewer mistakes but needs more time to detect actual crashes
|
|
|
|
|
max-sample-size = 1000
|
|
|
|
|
}
|
2011-11-30 10:20:57 +01:00
|
|
|
|
|
|
|
|
gossip {
|
|
|
|
|
initialDelay = 5s
|
|
|
|
|
frequency = 1s
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
compute-grid-dispatcher { # The dispatcher used for remote system messages
|
|
|
|
|
name = ComputeGridDispatcher # defaults to same settings as default-dispatcher
|
|
|
|
|
}
|
2011-11-15 11:34:39 +01:00
|
|
|
|
|
|
|
|
server {
|
2011-11-22 13:04:10 +01:00
|
|
|
hostname = "" # The hostname or ip to bind the remoting to, InetAddress.getLocalHost.getHostAddress is used if empty
|
2011-11-15 11:34:39 +01:00
|
|
|
port = 2552 # The default remote server port clients should connect to. Default is 2552 (AKKA)
|
2011-11-29 11:50:22 +01:00
|
|
|
message-frame-size = 1 MiB # Increase this if you want to be able to send messages with large payloads
|
2011-11-22 13:04:10 +01:00
|
|
|
connection-timeout = 120s # Timeout duration
|
2011-11-19 09:43:13 +01:00
|
|
|
require-cookie = off # Should the remote server require that it peers share the same secure-cookie (defined in the 'remote' section)?
|
|
|
|
|
untrusted-mode = off # Enable untrusted mode for full security of server managed actors, allows untrusted clients to connect.
|
2011-11-15 11:34:39 +01:00
|
|
|
backlog = 4096 # Sets the size of the connection backlog
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
client {
|
|
|
|
|
buffering {
|
2011-11-19 09:43:13 +01:00
|
|
|
retry-message-send-on-failure = off # Should message buffering on remote client error be used (buffer flushed on successful reconnect)
|
2011-11-15 11:34:39 +01:00
|
|
|
capacity = -1 # If negative (or zero) then an unbounded mailbox is used (default)
|
|
|
|
|
# If positive then a bounded mailbox is used and the capacity is set using the property
|
|
|
|
|
}
|
2011-11-22 13:04:10 +01:00
|
|
|
reconnect-delay = 5s
|
|
|
|
|
read-timeout = 3600s
|
2011-11-29 11:50:22 +01:00
|
|
|
message-frame-size = 1 MiB
|
2011-11-22 13:04:10 +01:00
|
|
|
reconnection-time-window = 600s # Maximum time window that a client should try to reconnect for
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-11-25 12:02:25 +01:00
|
|
|
cluster {
|
2011-11-25 15:42:25 +01:00
|
|
|
name = "default-cluster"
|
|
|
|
|
nodename = ""
|
|
|
|
|
seed-nodes = []
|
2011-11-15 11:34:39 +01:00
|
|
|
}
|
|
|
|
|
}
|