-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathapplication.conf
69 lines (61 loc) · 1.25 KB
/
application.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
67
68
69
aecor {
akka-runtime {
number-of-shards = 30
ask-timeout = 60s
idle-timeout = 60s
}
}
cluster {
system-name = "booking"
host = "0.0.0.0"
port = 51000
min-nr-of-members = 1
downing-strategy = static-quorum
}
kafka {
contact-points = ["localhost:9092"]
}
postgres {
contact-points = "127.0.0.1"
port = 5432
database = "booking"
username = "postgres"
password = ""
}
postgres-journals {
booking {
table-name = "booking_event",
polling-interval = 100ms
}
}
http-server {
interface = "0.0.0.0"
port = 9000
}
akka {
loglevel = "debug"
stdout-loglevel = "debug"
loggers = ["akka.event.slf4j.Slf4jLogger"]
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
actor {
provider = "akka.cluster.ClusterActorRefProvider"
}
remote {
enabled-transports = ["akka.remote.netty.tcp"]
netty.tcp {
hostname = ${cluster.host}
port = ${cluster.port}
bind-hostname = "0.0.0.0"
bind-port = ${cluster.port}
}
retry-gate-closed-for = 1s
}
cluster {
min-nr-of-members = ${cluster.min-nr-of-members}
seed-nodes = [
"akka.tcp://"${cluster.system-name}"@"${cluster.host}":"${cluster.port}
]
down-removal-margin = 3s
}
coordinated-shutdown.exit-jvm = on
}