summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/resources/config/conf/akka.conf
blob: 8440a9de567056fe2b1239503857f60599adc78c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
odl-cluster-data {
  akka {
    remote {
      artery {
        enabled = off
        canonical.hostname = "127.0.0.1"
        canonical.port = 2550
      }
      netty.tcp {
        hostname = "127.0.0.1"
        port = 2550
      }

      use-passive-connections = off
      # when under load we might trip a false positive on the failure detector
      # transport-failure-detector {
      # heartbeat-interval = 4 s
      # acceptable-heartbeat-pause = 16s
      # }
    }

    actor {
      debug {
        autoreceive = on
        lifecycle = on
        unhandled = on
        fsm = on
        event-stream = on
      }
    }

    cluster {
      # Remove ".tcp" when using artery.
      seed-nodes = ["akka.tcp://opendaylight-cluster-data@127.0.0.1:2550"]

      seed-node-timeout = {{.Values.config.odl.akka.seedNodeTimeout}}

      roles = ["member-1"]

    }

    persistence {
      # By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
      # modifying the following two properties. The directory location specified may be a relative or absolute path.
      # The relative path is always relative to KARAF_HOME.

      # snapshot-store.local.dir = "target/snapshots"
      # journal.leveldb.dir = "target/journal"

      journal {
        leveldb {
            # Set native = off to use a Java-only implementation of leveldb.
            # Note that the Java-only version is not currently considered by Akka to be production quality.

            # native = off
        }

        journal-plugin-fallback {
          circuit-breaker {
              max-failures = {{.Values.config.odl.akka.circuitBreaker.maxFailures}}
              call-timeout = {{.Values.config.odl.akka.circuitBreaker.callTimeout}}
              reset-timeout = {{.Values.config.odl.akka.circuitBreaker.resetTimeout}}
          }
          recovery-event-timeout = {{.Values.config.odl.akka.recoveryEventTimeout}}
        }

        snapshot-store-plugin-fallback {
          circuit-breaker {
            max-failures = {{.Values.config.odl.akka.circuitBreaker.maxFailures}}
            call-timeout = {{.Values.config.odl.akka.circuitBreaker.callTimeout}}
            reset-timeout = {{.Values.config.odl.akka.circuitBreaker.resetTimeout}}
          }
          recovery-event-timeout = {{.Values.config.odl.akka.recoveryEventTimeout}}
        }
      }
    }
  }
}