itto.ditto-policies-service.3.6.0.source-code.policies-dev.conf Maven / Gradle / Ivy
ditto {
http {
hostname = "localhost"
port = 8120 # for local development
port = ${?HTTP_PORT}
}
metrics.prometheus.port = 9010
metrics.prometheus.port = ${?PROMETHEUS_PORT}
}
pekko {
management.http.port = 25520
remote {
# for debugging purpose
watch-failure-detector {
expected-response-after = 120s
}
artery {
canonical.hostname = "127.0.0.1"
canonical.port = 2552
canonical.port = ${?REMOTE_PORT}
bind.bind-timeout = 6s
bind.bind-timeout = ${?ARTERY_BIND_TIMEOUT}
}
}
cluster {
# for debugging purpose
failure-detector {
expected-response-after = 120s
threshold = 16.0
acceptable-heartbeat-pause = 120s
}
seed-nodes = [
"pekko://[email protected]:2552", # port of the policies service to join in cluster
"pekko://ditto-cluster@"${pekko.remote.artery.canonical.hostname}":"${pekko.remote.artery.canonical.port}
]
}
}