CDS: Implement front-end support for local transactions
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / akka.conf
1
2 odl-cluster-data {
3   bounded-mailbox {
4     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
5     mailbox-capacity = 1000
6     mailbox-push-timeout-time = 100ms
7   }
8
9   metric-capture-enabled = true
10
11   akka {
12     loglevel = "INFO"
13     loggers = ["akka.event.slf4j.Slf4jLogger"]
14
15     actor {
16       provider = "akka.cluster.ClusterActorRefProvider"
17       serializers {
18         java = "akka.serialization.JavaSerializer"
19         proto = "akka.remote.serialization.ProtobufSerializer"
20         readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
21       }
22
23       serialization-bindings {
24         "com.google.protobuf.Message" = proto
25         "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
26       }
27
28       default-dispatcher {
29         # Setting throughput to 1 makes the dispatcher fair. It processes 1 message from
30         # the mailbox before moving on to the next mailbox
31         throughput = 1
32       }
33
34       default-mailbox {
35         # When not using a BalancingDispatcher it is recommended that we use the SingleConsumerOnlyUnboundedMailbox
36         # as it is the most efficient for multiple producer/single consumer use cases
37         mailbox-type="akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
38       }
39     }
40     remote {
41       log-remote-lifecycle-events = off
42       netty.tcp {
43         hostname = "127.0.0.1"
44         port = 2550
45         maximum-frame-size = 419430400
46         send-buffer-size = 52428800
47         receive-buffer-size = 52428800
48       }
49     }
50
51     cluster {
52       seed-nodes = ["akka.tcp://opendaylight-cluster-data@127.0.0.1:2550"]
53
54       auto-down-unreachable-after = 300s
55
56       roles = [
57         "member-1"
58       ]
59
60     }
61
62     persistence {
63       # By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
64       # modifying the following two properties. The directory location specified may be a relative or absolute path. 
65       # The relative path is always relative to KARAF_HOME.
66
67       # snapshot-store.local.dir = "target/snapshots"
68       # journal.leveldb.dir = "target/journal"
69
70     }
71   }
72 }
73
74 odl-cluster-rpc {
75   bounded-mailbox {
76     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
77     mailbox-capacity = 1000
78     mailbox-push-timeout-time = 100ms
79   }
80
81   metric-capture-enabled = true
82
83   akka {
84     loglevel = "INFO"
85     loggers = ["akka.event.slf4j.Slf4jLogger"]
86
87     actor {
88       provider = "akka.cluster.ClusterActorRefProvider"
89
90     }
91     remote {
92       log-remote-lifecycle-events = off
93       netty.tcp {
94         hostname = "127.0.0.1"
95         port = 2551
96         maximum-frame-size = 419430400
97         send-buffer-size = 52428800
98         receive-buffer-size = 52428800
99       }
100     }
101
102     cluster {
103       seed-nodes = ["akka.tcp://odl-cluster-rpc@127.0.0.1:2551"]
104
105       auto-down-unreachable-after = 300s
106     }
107   }
108 }

©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.