-
Notifications
You must be signed in to change notification settings - Fork 23
/
app.conf
44 lines (38 loc) · 879 Bytes
/
app.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
akka {
actor {
provider = cluster
}
remote {
dot-netty.tcp {
hostname = "127.0.0.1"
port = 5055
}
}
cluster {
#will inject this node as a self-seed node at run-time
seed-nodes = ["akka.tcp://AkkaTrader@127.0.0.1:5055"]
roles = ["trade-processor" , "trade-events"]
pub-sub{
role = "trade-events"
}
sharding{
role = "trade-processor"
}
}
persistence{
journal {
plugin = "akka.persistence.journal.sql"
sql {
event-adapters {
stock-tagger = "Akka.CQRS.Infrastructure.StockEventTagger, Akka.CQRS.Infrastructure"
}
event-adapter-bindings {
"Akka.CQRS.IWithStockId, Akka.CQRS" = stock-tagger
}
}
}
snapshot-store {
plugin = "akka.persistence.snapshot-store.sql"
}
}
}