pekko/config/akka-reference.conf

89 lines
3.1 KiB
Text
Raw Normal View History

####################
# Akka Config File #
####################
2009-11-11 14:17:18 +00:00
# This file has all the default settings, so all these could be removed with no visible effect.
# Modify as needed.
<log>
filename = "./logs/akka.log"
2009-09-30 20:08:55 +02:00
roll = "daily" # Options: never, hourly, daily, sunday/monday/...
level = "debug" # Options: fatal, critical, error, warning, info, debug, trace
console = on
# syslog_host = ""
# syslog_server_name = ""
</log>
<akka>
version = "0.7-SNAPSHOT"
2009-09-30 20:08:55 +02:00
# FQN to the class doing initial active object/actor
# supervisor bootstrap, should be defined in default constructor
2009-12-21 21:12:44 +01:00
boot = ["sample.java.Boot",
"sample.scala.Boot",
"se.scalablesolutions.akka.security.samples.Boot"]
2009-09-30 20:08:55 +02:00
<actor>
2009-11-22 14:32:27 +01:00
timeout = 5000 # default timeout for future based invocations
serialize-messages = off # does a deep clone of (non-primitive) messages to ensure immutability
</actor>
<stm>
service = on
fair = on # should transactions be fair or non-fair (non fair yield better performance)
max-nr-of-retries = 1000 # max nr of retries of a failing transaction before giving up
timeout = 10000 # transaction timeout; if transaction have not committed within the timeout then it is aborted
distributed = off # not implemented yet
</stm>
2009-12-27 06:35:25 +01:00
<rest>
service = on
hostname = "localhost"
port = 9998
2010-01-03 19:31:20 +01:00
filters = ["se.scalablesolutions.akka.security.AkkaSecurityFilterFactory"] # List with all jersey filters to use
2009-12-27 06:35:25 +01:00
authenticator = "se.scalablesolutions.akka.security.samples.BasicAuthenticationService" # The authentication service to use
</rest>
<remote>
2009-11-22 14:32:27 +01:00
compression-scheme = "zlib" # Options: "zlib" (lzf to come), leave out for no compression
zlib-compression-level = 6 # Options: 0-9 (1 being fastest and 9 being the most compressed), default is 6
2009-12-21 21:12:44 +01:00
<cluster>
name = "default" # The name of the cluster
#actor = "se.scalablesolutions.akka.remote.JGroupsClusterActor" # FQN of an implementation of ClusterActor
serializer = "se.scalablesolutions.akka.serialization.Serializer$Java" # FQN of the serializer class
2009-12-12 17:52:23 +01:00
</cluster>
2009-12-13 15:40:01 +01:00
2009-12-12 17:52:23 +01:00
<server>
service = on
hostname = "localhost"
2009-12-13 15:40:32 +01:00
port = 9999
connection-timeout = 1000 # in millis (1 sec default)
<server>
2009-11-22 14:32:27 +01:00
<client>
reconnect-delay = 5000 # in millis (5 sec default)
read-timeout = 10000 # in millis (10 sec default)
<client>
</remote>
<storage>
<cassandra>
hostname = "127.0.0.1" # IP address or hostname of one of the Cassandra cluster's seeds
port = 9160
consistency-level = "QUORUM" # Options: ZERO, ONE, QUORUM, ALL
</cassandra>
2009-11-22 14:32:27 +01:00
<mongodb>
hostname = "127.0.0.1" # IP address or hostname of the MongoDB DB instance
port = 27017
dbname = "mydb"
</mongodb>
<redis>
hostname = "127.0.0.1" # IP address or hostname of the Redis instance
2009-12-24 12:47:17 +05:30
port = 6379
</redis>
</storage>
</akka>