
akka.akka-discovery_2.11.2.5.32.source-code.reference.conf Maven / Gradle / Ivy
######################################################
# Akka Discovery Config #
######################################################
akka.actor.deployment {
"/SD-DNS/async-dns" {
mailbox = "unbounded"
router = "round-robin-pool"
nr-of-instances = 1
}
}
akka.discovery {
# Users MUST configure this value to set the default discovery method.
#
# The value can be an implementation config path name, such as "akka-dns",
# which would attempt to resolve as `akka.discovery.akka-dns` which is expected
# to contain a `class` setting. As fallback, the root `akka-dns` setting scope
# would be used. If none of those contained a `class` setting, then the value is
# assumed to be a class name, and an attempt is made to instantiate it.
method = ""
# Config based service discovery
config {
class = akka.discovery.config.ConfigServiceDiscovery
# Location of the services in configuration
services-path = "akka.discovery.config.services"
# A map of services to resolve from configuration.
# See docs for more examples.
# A list of endpoints with host/port where port is optional e.g.
# services {
# service1 {
# endpoints = [
# {
# host = "cat.com"
# port = 1233
# },
# {
# host = "dog.com"
# }
# ]
# },
# service2 {
# endpoints = [
# {
# host = "fish.com"
# port = 1233
# }
# ]
# }
# }
services = {
}
}
# Aggregate multiple service discovery mechaisms
aggregate {
class = akka.discovery.aggregate.AggregateServiceDiscovery
# List of service discovery methods to try in order. E.g config then fall back to DNS
# ["config", "akka-dns"]
discovery-methods = []
}
# DNS based service discovery
akka-dns {
class = akka.discovery.dns.DnsServiceDiscovery
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy