c91d8fee6b175014b410196b111f4138b19d0803
[controller.git] / opendaylight / md-sal / sal-akka-raft-example / src / main / resources / application.conf
1 akka {
2
3     loglevel = "DEBUG"
4
5     actor {
6         # enable to test serialization only.
7         # serialize-messages = on
8
9         serializers {
10           java  = "akka.serialization.JavaSerializer"
11           proto = "akka.remote.serialization.ProtobufSerializer"
12         }
13
14         serialization-bindings {
15             "org.opendaylight.controller.cluster.raft.persisted.SimpleReplicatedLogEntry" = java
16             "org.opendaylight.controller.cluster.notifications.RegisterRoleChangeListener" = java
17             "com.google.protobuf.Message" = proto
18             "com.google.protobuf.GeneratedMessage" = proto
19         }
20     }
21 }
22
23 raft-test {
24     akka {
25
26         loglevel = "DEBUG"
27
28         actor {
29             # enable to test serialization only.
30             # serialize-messages = on
31
32             provider = "akka.remote.RemoteActorRefProvider"
33
34             serializers {
35               java  = "akka.serialization.JavaSerializer"
36               proto = "akka.remote.serialization.ProtobufSerializer"
37             }
38
39             serialization-bindings {
40                 "org.opendaylight.controller.cluster.raft.persisted.SimpleReplicatedLogEntry" = java
41                 "org.opendaylight.controller.cluster.notifications.RegisterRoleChangeListener" = java
42                 "com.google.protobuf.Message" = proto
43                 "com.google.protobuf.GeneratedMessage" = proto
44             }
45         }
46
47         remote {
48             log-remote-lifecycle-events = off
49             artery {
50                 enabled = on
51                 canonical.hostname = "127.0.0.1"
52                 canonical.port = 2550
53             }
54         }
55     }
56 }
57
58 raft-test-listener {
59
60   akka {
61     loglevel = "DEBUG"
62
63     actor {
64         provider = "akka.remote.RemoteActorRefProvider"
65     }
66
67     remote {
68         log-remote-lifecycle-events = off
69         artery {
70             enabled = on
71             canonical.hostname = "127.0.0.1"
72             canonical.port = 2554
73         }
74     }
75
76     member-id = "member-1"
77   }
78 }
79
80
81

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