/
reference.conf
51 lines (41 loc) · 1.24 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
eventstore {
# IP & port of Event Store
address {
host = "127.0.0.1"
port = 1113
}
# The desired connection timeout
connection-timeout = 1s
# Maximum number of reconnections before backing off
max-reconnections = 100
reconnection-delay {
# Delay before first reconnection
min = 250ms
# Maximum delay on reconnections
max = 10s
}
# The default credentials to use for operations where others are not explicitly supplied.
credentials {
login = "admin"
password = "changeit"
}
heartbeat {
# The interval at which to send heartbeat messages.
interval = 500ms
# The interval after which an unacknowledged heartbeat will cause the connection to be considered faulted and disconnect.
timeout = 2s
}
# The amount of time before an operation is considered to have timed out
operation-timeout = 5s
# Whether to resolve LinkTo events automatically
resolve-linkTos = false
# Whether or not to require EventStore to refuse serving read or write request if it is not master
require-master = true
# Number of events to be retrieved by client as single message
read-batch-size = 500
backpressure {
low-watermark = 100
high-watermark = 10000
max-capacity = 1000000
}
}