X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-config%2Fsrc%2Fmain%2Fresources%2Finitial%2Fakka.conf;h=a51e09f0ecfc283353d88931722cd9a353614d2f;hb=b65f82f3c6e6e4c53ea2efa4dba30ddf82d61616;hp=10f6a4209c95b7af8db7680ce8a28b1f62378e19;hpb=02cc3d456b181eb5accc3ef1f7c4cf66dfb78ef4;p=controller.git diff --git a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf index 10f6a4209c..a51e09f0ec 100644 --- a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf +++ b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf @@ -1,83 +1,49 @@ odl-cluster-data { - bounded-mailbox { - mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox" - mailbox-capacity = 1000 - mailbox-push-timeout-time = 100ms - } - - metric-capture-enabled = true - akka { - loglevel = "INFO" - loggers = ["akka.event.slf4j.Slf4jLogger"] - - actor { - - provider = "akka.cluster.ClusterActorRefProvider" - serializers { - java = "akka.serialization.JavaSerializer" - proto = "akka.remote.serialization.ProtobufSerializer" - } - - serialization-bindings { - "com.google.protobuf.Message" = proto - - } - } remote { - log-remote-lifecycle-events = off + artery { + enabled = off + canonical.hostname = "127.0.0.1" + canonical.port = 2550 + } netty.tcp { hostname = "127.0.0.1" port = 2550 - maximum-frame-size = 419430400 - send-buffer-size = 52428800 - receive-buffer-size = 52428800 } + # when under load we might trip a false positive on the failure detector + # transport-failure-detector { + # heartbeat-interval = 4 s + # acceptable-heartbeat-pause = 16s + # } } cluster { + # Remove ".tcp" when using artery. seed-nodes = ["akka.tcp://opendaylight-cluster-data@127.0.0.1:2550"] - auto-down-unreachable-after = 300s - roles = [ "member-1" ] } - } -} -odl-cluster-rpc { - bounded-mailbox { - mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox" - mailbox-capacity = 1000 - mailbox-push-timeout-time = 100ms - } - - metric-capture-enabled = true + 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. - akka { - loglevel = "INFO" - loggers = ["akka.event.slf4j.Slf4jLogger"] + # snapshot-store.local.dir = "target/snapshots" + # journal.leveldb.dir = "target/journal" - actor { - provider = "akka.cluster.ClusterActorRefProvider" + 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. - } - remote { - log-remote-lifecycle-events = off - netty.tcp { - hostname = "127.0.0.1" - port = 2551 + # native = off + } } } - - cluster { - seed-nodes = ["akka.tcp://odl-cluster-rpc@127.0.0.1:2551"] - - auto-down-unreachable-after = 300s - } } }