-
Notifications
You must be signed in to change notification settings - Fork 216
/
pubsub-factory-test.conf
54 lines (49 loc) · 1.1 KB
/
pubsub-factory-test.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
akka {
actor {
provider = "cluster"
enable-additional-serialization-bindings = on
serializers {
json = "org.eclipse.ditto.internal.utils.cluster.JsonJsonifiableSerializer"
}
serialization-bindings {
"org.eclipse.ditto.base.model.json.Jsonifiable" = json
}
}
remote {
artery {
enabled = on
transport = tcp
canonical {
hostname = "127.0.0.1"
port = 0
}
advanced {
idle-cpu-level = 1 # low throughput for development
}
}
}
cluster {
seed-nodes = []
metrics.enabled = "off"
jmx.multi-mbeans-in-same-jvm = "on"
}
test {
timefactor = 1.0
}
}
ditto {
mapping-strategy.implementation = "org.eclipse.ditto.internal.utils.pubsub.TestMappingStrategies"
pubsub {
restart-delay = 1s
update-interval = 100ms // increase this value to simulate slow systems
reset-probability = 0.0 // reset is not mocked for the tests
seed = "dummy-seed"
}
ddata {
number-of-shards = 5
}
}
akka.cluster.distributed-data {
gossip-interval = 100ms
notify-subscribers-interval = 100ms
}