case classZkMetadata(shardId: Option[Int], metadata: Map[String, String] = Map.empty) extends Product with Serializable
Zookeeper per-address metadata.
Note that weight also comes from Zookeeper, but it is consumed
directly by Finagle's load balancer so it is represented separately
as com.twitter.finagle.addr.WeightedAddress. Weights are treated
specially since their interpretation requires deep integration into
the Finagle client stack.
shardId
The shard ID of the address.
metadata
A generic metadata container associated with the address.
Zookeeper per-address metadata.
Note that weight also comes from Zookeeper, but it is consumed directly by Finagle's load balancer so it is represented separately as com.twitter.finagle.addr.WeightedAddress. Weights are treated specially since their interpretation requires deep integration into the Finagle client stack.
The shard ID of the address.
A generic metadata container associated with the address.