BUG-8494: fix throttling during reconnect
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / resources / application.conf
1 akka {
2     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
3     persistence.journal.plugin = "in-memory-journal"
4
5     loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
6
7     actor {
8          serializers {
9                   java = "akka.serialization.JavaSerializer"
10                   proto = "akka.remote.serialization.ProtobufSerializer"
11          }
12
13         serialization-bindings {
14             "org.opendaylight.controller.cluster.datastore.modification.MutableCompositeModification" = java
15             "com.google.protobuf.Message" = proto
16
17         }
18     }
19 }
20
21 in-memory-journal {
22     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
23 }
24
25 in-memory-snapshot-store {
26   # Class name of the plugin.
27   class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
28   # Dispatcher for the plugin actor.
29   plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
30 }
31
32 bounded-mailbox {
33   mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
34   mailbox-capacity = 1000
35   mailbox-push-timeout-time = 100ms
36 }
37
38 test {
39   bounded-mailbox {
40     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
41     mailbox-capacity = 1000
42     mailbox-push-timeout-time = 100ms
43   }
44
45   in-memory-journal {
46     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
47   }
48
49   in-memory-snapshot-store {
50     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
51     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
52   }
53
54   akka {
55     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
56     persistence.journal.plugin = "in-memory-journal"
57
58     loglevel = "INFO"
59
60     actor {
61       provider = "akka.cluster.ClusterActorRefProvider"
62
63       serializers {
64           java = "akka.serialization.JavaSerializer"
65           proto = "akka.remote.serialization.ProtobufSerializer"
66           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
67       }
68
69       serialization-bindings {
70           "com.google.protobuf.Message" = proto
71           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
72       }
73     }
74     remote {
75       log-remote-lifecycle-events = off
76       artery {
77         enabled = on
78         canonical.hostname = "127.0.0.1"
79         canonical.port = 2565
80       }
81
82       netty.tcp {
83         hostname = "127.0.0.1"
84         port = 2565
85       }
86     }
87
88     cluster {
89       auto-down-unreachable-after = 100s
90       retry-unsuccessful-join-after = 100ms
91
92       roles = [
93         "member-1"
94       ]
95     }
96   }
97 }
98
99 Member1 {
100   bounded-mailbox {
101     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
102     mailbox-capacity = 1000
103     mailbox-push-timeout-time = 100ms
104   }
105
106   in-memory-journal {
107     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
108   }
109
110   in-memory-snapshot-store {
111     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
112     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
113   }
114
115   akka {
116     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
117     persistence.journal.plugin = "in-memory-journal"
118
119     loglevel = "INFO"
120
121     actor {
122       provider = "akka.cluster.ClusterActorRefProvider"
123
124       serializers {
125           java = "akka.serialization.JavaSerializer"
126           proto = "akka.remote.serialization.ProtobufSerializer"
127           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
128       }
129
130       serialization-bindings {
131           "com.google.protobuf.Message" = proto
132           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
133       }
134     }
135     remote {
136       log-remote-lifecycle-events = off
137       artery {
138         enabled = on
139         canonical.hostname = "127.0.0.1"
140         canonical.port = 2558
141       }
142
143       netty.tcp {
144         hostname = "127.0.0.1"
145         port = 2558
146       }
147     }
148
149     cluster {
150       retry-unsuccessful-join-after = 100ms
151
152       roles = [
153         "member-1"
154       ]
155     }
156   }
157 }
158
159 Member2 {
160   bounded-mailbox {
161     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
162     mailbox-capacity = 1000
163     mailbox-push-timeout-time = 100ms
164   }
165
166   in-memory-journal {
167     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
168   }
169
170   in-memory-snapshot-store {
171     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
172     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
173   }
174
175   akka {
176     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
177     persistence.journal.plugin = "in-memory-journal"
178
179     actor {
180       provider = "akka.cluster.ClusterActorRefProvider"
181
182       serializers {
183           java = "akka.serialization.JavaSerializer"
184           proto = "akka.remote.serialization.ProtobufSerializer"
185           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
186       }
187
188       serialization-bindings {
189           "com.google.protobuf.Message" = proto
190           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
191       }
192     }
193     remote {
194       log-remote-lifecycle-events = off
195       artery {
196         enabled = on
197         canonical.hostname = "127.0.0.1"
198         canonical.port = 2559
199       }
200
201       netty.tcp {
202         hostname = "127.0.0.1"
203         port = 2559
204       }
205     }
206
207     cluster {
208       retry-unsuccessful-join-after = 100ms
209
210       roles = [
211         "member-2"
212       ]
213     }
214   }
215 }
216
217 Member3 {
218   bounded-mailbox {
219     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
220     mailbox-capacity = 1000
221     mailbox-push-timeout-time = 100ms
222   }
223
224   in-memory-journal {
225     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
226   }
227
228   in-memory-snapshot-store {
229     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
230     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
231   }
232
233   akka {
234     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
235     persistence.journal.plugin = "in-memory-journal"
236
237     loglevel = "INFO"
238
239     actor {
240       provider = "akka.cluster.ClusterActorRefProvider"
241
242       serializers {
243           java = "akka.serialization.JavaSerializer"
244           proto = "akka.remote.serialization.ProtobufSerializer"
245           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
246       }
247
248       serialization-bindings {
249           "com.google.protobuf.Message" = proto
250           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
251       }
252     }
253     remote {
254       log-remote-lifecycle-events = off
255       artery {
256         enabled = on
257         canonical.hostname = "127.0.0.1"
258         canonical.port = 2557
259       }
260
261       netty.tcp {
262         hostname = "127.0.0.1"
263         port = 2557
264       }
265     }
266
267     cluster {
268       retry-unsuccessful-join-after = 100ms
269
270       roles = [
271         "member-3"
272       ]
273     }
274   }
275 }
276
277 Member4 {
278   bounded-mailbox {
279     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
280     mailbox-capacity = 1000
281     mailbox-push-timeout-time = 100ms
282   }
283
284   in-memory-journal {
285     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
286   }
287
288   in-memory-snapshot-store {
289     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
290     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
291   }
292
293   akka {
294     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
295     persistence.journal.plugin = "in-memory-journal"
296
297     loglevel = "INFO"
298
299     actor {
300       provider = "akka.cluster.ClusterActorRefProvider"
301
302       serializers {
303           java = "akka.serialization.JavaSerializer"
304           proto = "akka.remote.serialization.ProtobufSerializer"
305           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
306       }
307
308       serialization-bindings {
309           "com.google.protobuf.Message" = proto
310           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
311       }
312     }
313     remote {
314       log-remote-lifecycle-events = off
315       artery {
316         enabled = on
317         canonical.hostname = "127.0.0.1"
318         canonical.port = 2560
319       }
320
321       netty.tcp {
322         hostname = "127.0.0.1"
323         port = 2560
324       }
325     }
326
327     cluster {
328       retry-unsuccessful-join-after = 100ms
329
330       roles = [
331         "member-4"
332       ]
333     }
334   }
335 }
336
337 Member5 {
338   bounded-mailbox {
339     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
340     mailbox-capacity = 1000
341     mailbox-push-timeout-time = 100ms
342   }
343
344   in-memory-journal {
345     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
346   }
347
348   in-memory-snapshot-store {
349     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
350     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
351   }
352
353   akka {
354     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
355     persistence.journal.plugin = "in-memory-journal"
356
357     loglevel = "INFO"
358
359     actor {
360       provider = "akka.cluster.ClusterActorRefProvider"
361
362       serializers {
363           java = "akka.serialization.JavaSerializer"
364           proto = "akka.remote.serialization.ProtobufSerializer"
365           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
366       }
367
368       serialization-bindings {
369           "com.google.protobuf.Message" = proto
370           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
371       }
372     }
373     remote {
374       log-remote-lifecycle-events = off
375       artery {
376         enabled = on
377         canonical.hostname = "127.0.0.1"
378         canonical.port = 2561
379       }
380
381       netty.tcp {
382         hostname = "127.0.0.1"
383         port = 2561
384       }
385     }
386
387     cluster {
388       retry-unsuccessful-join-after = 100ms
389
390       roles = [
391         "member-5"
392       ]
393     }
394   }
395 }
396
397 Member1-without-artery {
398   akka.remote.artery.enabled = off
399 }
400
401 Member2-without-artery {
402   akka.remote.artery.enabled = off
403 }
404
405 Member3-without-artery {
406   akka.remote.artery.enabled = off
407 }
408
409 Member4-without-artery {
410   akka.remote.artery.enabled = off
411 }
412
413 Member5-without-artery {
414   akka.remote.artery.enabled = off
415 }