Allow Lighty build to listen to alternative ports
[transportpce.git] / lighty / src / main / assembly / resources / akka-default_template.conf
1 akka {
2   remote {
3     artery {
4       enabled = off
5       canonical.hostname = "127.0.0.1"
6       canonical.port = ODL_AKKA_PORT
7     }
8     classic.netty.tcp {
9       hostname = "127.0.0.1"
10       port = ODL_AKKA_PORT
11     }
12     # when under load we might trip a false positive on the failure detector
13     # transport-failure-detector {
14     # heartbeat-interval = 4 s
15     # acceptable-heartbeat-pause = 16s
16     # }
17   }
18
19   actor {
20     provider = "akka.cluster.ClusterActorRefProvider"
21   }
22
23   discovery {
24     method = akka-dns
25   }
26
27   cluster {
28     # Remove ".tcp" when using artery.
29     seed-nodes = ["akka.tcp://opendaylight-cluster-data@127.0.0.1:ODL_AKKA_PORT"]
30
31     roles = [
32       "member-1"
33     ]
34
35   }
36
37   persistence {
38     # By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
39     # modifying the following two properties. The directory location specified may be a relative or absolute path.
40     # The relative path is always relative to KARAF_HOME.
41
42     snapshot-store.local.dir = "target/snapshots"
43
44     # Use lz4 compression for LocalSnapshotStore snapshots
45     snapshot-store.local.use-lz4-compression = false
46     # Size of blocks for lz4 compression: 64KB, 256KB, 1MB or 4MB
47     snapshot-store.local.lz4-blocksize = 256KB
48
49   }
50   disable-default-actor-system-quarantined-event-handling = "false"
51   management {
52       http {
53          port = ODL_AKKA_MGT_PORT
54       }
55   }
56 }