Add odl-cluster-rpc back to akka conf template
[integration/test.git] / tools / clustering / cluster-deployer / templates / multi-node-test / akka.conf.template
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     logger-startup-timeout = 300s
15
16     actor {
17       provider = "akka.cluster.ClusterActorRefProvider"
18       serializers {
19         java = "akka.serialization.JavaSerializer"
20         proto = "akka.remote.serialization.ProtobufSerializer"
21         readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
22       }
23
24       serialization-bindings {
25         "com.google.protobuf.Message" = proto
26         "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
27       }
28
29       default-dispatcher {
30         # Setting throughput to 1 makes the dispatcher fair. It processes 1 message from
31         # the mailbox before moving on to the next mailbox
32         throughput = 1
33       }
34
35       default-mailbox {
36         # When not using a BalancingDispatcher it is recommended that we use the SingleConsumerOnlyUnboundedMailbox
37         # as it is the most efficient for multiple producer/single consumer use cases
38         mailbox-type="akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
39       }
40     }
41     remote {
42       log-remote-lifecycle-events = off
43       netty.tcp {
44         hostname = "{{HOST}}"
45         port = 2550
46         maximum-frame-size = 419430400
47         send-buffer-size = 52428800
48         receive-buffer-size = 52428800
49       }
50     }
51
52     cluster {
53       seed-nodes = {{{DS_SEED_NODES}}}
54
55       seed-node-timeout = 12s
56
57       auto-down-unreachable-after = 30s
58
59       roles = [
60         "{{MEMBER_NAME}}"
61       ]
62
63     }
64
65     persistence {
66       # By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
67       # modifying the following two properties. The directory location specified may be a relative or absolute path. 
68       # The relative path is always relative to KARAF_HOME.
69
70       # snapshot-store.local.dir = "target/snapshots"
71       # journal.leveldb.dir = "target/journal"
72
73       journal {
74         leveldb {
75           # Set native = off to use a Java-only implementation of leveldb.
76           # Note that the Java-only version is not currently considered by Akka to be production quality.
77
78           # native = off
79         }
80       }
81     }
82   }
83 }
84
85 odl-cluster-rpc {
86   bounded-mailbox {
87     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
88     mailbox-capacity = 1000
89     mailbox-push-timeout-time = 100ms
90   }
91
92   metric-capture-enabled = true
93
94   akka {
95     loglevel = "INFO"
96     loggers = ["akka.event.slf4j.Slf4jLogger"]
97     log-dead-letters = 10000
98
99     actor {
100       provider = "akka.cluster.ClusterActorRefProvider"
101
102     }
103     remote {
104       log-remote-lifecycle-events = off
105       netty.tcp {
106         hostname = "{{HOST}}"
107         port = 2551
108         maximum-frame-size = 419430400
109         send-buffer-size = 52428800
110         receive-buffer-size = 52428800
111       }
112     }
113
114     cluster {
115       seed-nodes = {{{RPC_SEED_NODES}}}
116
117       auto-down-unreachable-after = 30s
118     }
119   }
120 }