4 mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
5 mailbox-capacity = 5000
6 mailbox-push-timeout-time = 10ms
9 metric-capture-enabled = true
11 notification-dispatcher {
12 # Dispatcher is the name of the event-based dispatcher
14 # What kind of ExecutionService to use
15 executor = "fork-join-executor"
16 # Configuration for the fork join pool
18 # Min number of threads to cap factor-based parallelism number to
20 # Parallelism (threads) ... ceil(available processors * factor)
21 parallelism-factor = 3.0
22 # Max number of threads to cap factor-based parallelism number to
25 # Throughput defines the maximum number of messages to be
26 # processed per actor before the thread jumps to the next actor.
27 # Set to 1 for as fair as possible.
31 serialization-dispatcher {
33 executor = "fork-join-executor"
35 # Min number of threads to cap factor-based parallelism number to
37 # Parallelism (threads) ... ceil(available processors * factor)
38 parallelism-factor = 2.0
39 # Max number of threads to cap factor-based parallelism number to
47 executor = "default-executor"
49 # We use a ControlAwareMailbox so that raft messages that implement ControlMessage
50 # are given higher priority.
51 mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
56 loggers = ["akka.event.slf4j.Slf4jLogger"]
57 logger-startup-timeout = 300s
60 warn-about-java-serializer-usage = off
61 provider = "akka.cluster.ClusterActorRefProvider"
63 java = "akka.serialization.JavaSerializer"
64 proto = "akka.remote.serialization.ProtobufSerializer"
65 readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
66 simpleReplicatedLogEntry = "org.opendaylight.controller.cluster.raft.persisted.SimpleReplicatedLogEntrySerializer"
69 serialization-bindings {
70 "com.google.protobuf.Message" = proto
71 "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
72 "org.opendaylight.controller.cluster.raft.persisted.SimpleReplicatedLogEntry" = simpleReplicatedLogEntry
76 # Setting throughput to 1 makes the dispatcher fair. It processes 1 message from
77 # the mailbox before moving on to the next mailbox
82 # When not using a BalancingDispatcher it is recommended that we use the SingleConsumerOnlyUnboundedMailbox
83 # as it is the most efficient for multiple producer/single consumer use cases
84 mailbox-type="akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
88 log-remote-lifecycle-events = off
89 # Disable passive connections, as we are seeing issues
90 # with read-only associations
91 use-passive-connections = off
94 maximum-frame-size = 419430400
95 send-buffer-size = 52428800
96 receive-buffer-size = 52428800
101 #maximum-frame-size = 256 KiB
102 #maximum-large-frame-size = 2 MiB
108 seed-node-timeout = 12s
110 # Following is an excerpt from Akka Cluster Documentation
111 # link - http://doc.akka.io/docs/akka/snapshot/java/cluster-usage.html
112 # Warning - Akka recommends against using the auto-down feature of Akka Cluster in production.
113 # This is crucial for correct behavior if you use Cluster Singleton or Cluster Sharding,
114 # especially together with Akka Persistence.
116 allow-weakly-up-members = on
118 use-dispatcher = cluster-dispatcher
120 failure-detector.acceptable-heartbeat-pause = 3 s
125 # The following activates the default segmented file journal. Each persistent actor
126 # is stored in a separate directory, with multiple segment files. Segments are removed
127 # when they are no longer required.
129 plugin = akka.persistence.journal.segmented-file
132 class = "org.opendaylight.controller.akka.segjournal.SegmentedFileJournal"
133 # Root directory for segmented journal storage
134 root-directory = "segmented-journal"
135 # Maximum size of a single entry in the segmented journal
137 # Maximum size of a segment
138 max-segment-size = 128M
139 # Map each segment into memory. Note that while this can improve performance,
140 # it will also place additional burden on system resources.
141 memory-mapped = false
145 # Journal configuration for shards that have persistence turned off. They still need to have a journal plugin
146 # configured, since they still need to store things in the journal occasionally, but having larger segment sizes
147 # would be wastefull.
150 class = "org.opendaylight.controller.akka.segjournal.SegmentedFileJournal"
151 # Root directory for segmented journal storage
152 root-directory = "segmented-journal"
153 # Maximum size of a single entry in the segmented journal
154 max-entry-size = 512K
155 # Maximum size of a segment
156 max-segment-size = 1M
157 # Map each segment into memory. Note that while this can improve performance,
158 # it will also place additional burden on system resources.
159 memory-mapped = false
163 snapshot-store.local.class = "org.opendaylight.controller.cluster.persistence.LocalSnapshotStore"
164 snapshot-store.plugin = akka.persistence.snapshot-store.local
170 executor = "fork-join-executor"