Add multi journal configuration for segmented journal
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / resources / segmented.conf
1 Member1 {
2   bounded-mailbox {
3     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
4     mailbox-capacity = 1000
5     mailbox-push-timeout-time = 100ms
6   }
7
8   in-memory-snapshot-store {
9     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
10     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
11   }
12
13   shard-dispatcher {
14     type = Dispatcher
15     executor = "default-executor"
16     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
17   }
18
19   akka {
20     persistence {
21       snapshot-store.plugin = "in-memory-snapshot-store"
22
23       journal {
24         plugin = "akka.persistence.journal.segmented-file"
25
26         segmented-file {
27           class = "org.opendaylight.controller.akka.segjournal.SegmentedFileJournal"
28           root-directory = "target/segmented-journal"
29           max-entry-size = 8M
30           max-segment-size = 32M
31           memory-mapped = false
32         }
33       }
34     }
35     persistence.non-persistent.journal {
36       class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
37     }
38
39     loglevel = "INFO"
40
41     actor {
42       provider = "akka.cluster.ClusterActorRefProvider"
43
44       serializers {
45         readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
46       }
47
48       serialization-bindings {
49         "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
50       }
51
52       warn-about-java-serializer-usage = false
53     }
54     remote {
55       log-remote-lifecycle-events = off
56       artery {
57         enabled = on
58         canonical.hostname = "127.0.0.1"
59         canonical.port = 2558
60       }
61
62       netty.tcp {
63         hostname = "127.0.0.1"
64         port = 2558
65       }
66     }
67
68     cluster {
69       retry-unsuccessful-join-after = 100ms
70
71       roles = [
72         "member-1"
73       ]
74     }
75   }
76 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.