-
Notifications
You must be signed in to change notification settings - Fork 5
/
cluster.conf
58 lines (50 loc) · 1.58 KB
/
cluster.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
akka {
loggers = ["akka.event.Logging$DefaultLogger"]
# Options: OFF, ERROR, WARNING, INFO, DEBUG
loglevel = "ERROR"
log-dead-letters = 1
persistence {
# should be on in production. Does not work for some reason
# in sbt in our multiproject structure
journal.leveldb.native = off
journal.leveldb.dir = "servicesJournal"
journal.plugin = "akka.persistence.journal.leveldb"
snapshot-store.plugin = "akka.persistence.snapshot-store.local"
}
actor {
provider = "akka.cluster.ClusterActorRefProvider"
serializers {
java = "akka.serialization.JavaSerializer"
proto = "akka.remote.serialization.ProtobufSerializer"
kryo = "com.romix.akka.serialization.kryo.KryoSerializer"
}
serialization-bindings {
"java.lang.String" = kryo
}
warn-about-java-serializer-usage = false
}
remote {
log-remote-lifecycle-events = off
maximum-payload-bytes = 30000000 bytes
netty.tcp {
hostname = "127.0.0.1"
port = 0
message-frame-size = 30000000b
send-buffer-size = 30000000b
receive-buffer-size = 30000000b
maximum-frame-size = 30000000b
}
}
cluster {
seed-nodes = [
"akka.tcp://[email protected]:2551",
"akka.tcp://[email protected]:2552"
]
# auto downing is NOT safe for production deployments.
# you may want to use it during development, read more about it in the docs.
#
auto-down-unreachable-after = 5s
}
extensions = ["akka.cluster.pubsub.DistributedPubSub", "com.romix.akka.serialization.kryo.KryoSerializationExtension$"]
}
include "application"