-
Notifications
You must be signed in to change notification settings - Fork 214
/
connectivity-dev.conf
66 lines (54 loc) · 1.61 KB
/
connectivity-dev.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
ditto {
http {
hostname = "localhost"
port = 8085 # for local development
port = ${?HTTP_PORT}
}
metrics.prometheus.port = 9014
metrics.prometheus.port = ${?PROMETHEUS_PORT}
connectivity {
connection {
blocked-hostnames = "" // for development, allow "localhost" which would normally be on that block-list
blocked-hostnames = ${?CONNECTIVITY_CONNECTION_BLOCKED_HOSTNAMES}
priority-update-interval = 10s
priority-update-interval = ${?CONNECTIVITY_PRIORITY_UPDATE_INTERVAL}
}
persistence-ping {
# journal tag to query to find our which connectionPersistenceActors to ping (reconnect)
journal-tag = "always-alive"
journal-tag = ${?RECONNECT_JOURNAL_TAG}
}
}
}
pekko {
management.http.port = 25610
management.http.port = ${?PEKKO_MANAGEMENT_PORT}
remote {
# for debugging purpose
watch-failure-detector {
expected-response-after = 120s
}
artery {
canonical.hostname = "127.0.0.1"
canonical.port = 2561
canonical.port = ${?REMOTE_PORT}
advanced.idle-cpu-level = 1 # for development, no max throughput required
bind.bind-timeout = 6s
}
}
cluster {
# for debugging purpose
failure-detector {
expected-response-after = 120s
threshold = 16.0
acceptable-heartbeat-pause = 120s
}
sharding {
remember-entities = on
}
seed-nodes = [
"pekko://ditto-cluster@127.0.0.1:2552", # port of the policies service to join in cluster
"pekko://ditto-cluster@"${pekko.remote.artery.canonical.hostname}":"${pekko.remote.artery.canonical.port}
]
}
}