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