File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 3
3
loglevel = "OFF"
4
4
log-dead-letters = off
5
5
log-dead-letters-during-shutdown = off
6
+
7
+ actor {
8
+ deployment {
9
+ /validation-stats {
10
+ dispatcher = validation-dispatcher
11
+ }
12
+ }
13
+ }
14
+ }
15
+
16
+ validation-dispatcher {
17
+ type = Dispatcher
18
+ executor = "fork-join-executor"
19
+ fork-join-executor {
20
+ # Min number of threads to cap factor-based parallelism number to
21
+ parallelism-min = 2
22
+ # Parallelism (threads) ... ceil(available processors * factor)
23
+ parallelism-factor = 2.0
24
+ # Max number of threads to cap factor-based parallelism number to
25
+ parallelism-max = 10
26
+ }
27
+ # Throughput defines the maximum number of messages to be
28
+ # processed per actor before the thread jumps to the next actor.
29
+ # Set to 1 for as fair as possible.
30
+ throughput = 100
6
31
}
7
32
8
33
hmda {
Original file line number Diff line number Diff line change @@ -108,10 +108,6 @@ class ValidationStats extends HmdaPersistentActor {
108
108
109
109
override def persistenceId : String = s " $name"
110
110
111
- override def preStart (): Unit = {
112
- log.info(s " Actor started at ${self.path}" )
113
- }
114
-
115
111
var state = ValidationStatsState ()
116
112
117
113
override def updateState (event : Event ): Unit = {
You can’t perform that action at this time.
0 commit comments