This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
/
reference.conf
66 lines (53 loc) · 1.59 KB
/
reference.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
59
60
61
62
63
64
65
66
akka {
actor {
provider = "akka.remote.RemoteActorRefProvider"
serializers {
# Protobuf serializer for DurableEvent
eventuate-event = "com.rbmhtechnology.eventuate.DurableEventSerializer"
}
serialization-bindings {
# Serialization binding for DurableEvent
"com.rbmhtechnology.eventuate.DurableEvent" = eventuate-event
}
}
remote.enabled-transports = ["akka.remote.netty.tcp"]
loglevel = "ERROR"
}
log.replication {
# Maximum batch size for event transfer and event writing to the target
# event log.
transfer-batch-size-max = 200
# Event transfer retry interval. Event transfer is re-tried at this interval
# if previous transfer batch was empty.
transfer-retry-interval = 5s
# Connect retry interval. Connection to a remote location is re-tried at
# this interval if previous connect attempt failed.
connect-retry-interval = 3s
# Maximum duration of missing heartbeats from a remote location until
# that location is considered unavailable.
failure-detection-limit = 60s
}
log {
# Maximum write batch size for emitted events by event-sourced actors.
write-batch-size-max = 200
}
log.leveldb {
# Root directory for storing the log directories of individual event logs.
dir = target
# Use fsync on write.
fsync = on
# Dispatcher for writes.
write-dispatcher {
executor = "thread-pool-executor"
type = PinnedDispatcher
}
# Dispatcher for reads.
read-dispatcher {
type = Dispatcher
executor = "fork-join-executor"
fork-join-executor {
parallelism-min = 2
parallelism-max = 8
}
}
}