case classServiceName(name: String) extends Product with Serializable
Name of the service in a format compatible with our use of DNS SRV record feature.
Basically a format-validated String.
We support 2 use cases:
'Simple' names, intended to represent globally shared services, like shared zookeeper cluster.
E.g. 'zookeeper-cluster' or 'kafka-cluster'.
Application-specific names, intended to represent services that are name spaced to a particular application domain.
E.g. 'mongo.user' would represent default mongo DB service that is 'owned' by a 'user' app.
Here, the part before the first '.' is the canonical name of the service, the rest is prepended to the default
search domain and used as the domain part.
See also
ServiceLookup
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Name of the service in a format compatible with our use of DNS SRV record feature. Basically a format-validated String.
We support 2 use cases:
ServiceLookup