Class DataRoutingServiceK8sImpl

java.lang.Object
com.illumon.iris.db.v2.routing.DataRoutingService.Delegating
com.illumon.iris.db.v2.routing.impl.k8s.DataRoutingServiceK8sImpl
All Implemented Interfaces:
DataRoutingService, StorageLookup, DynamicResolverMixin, EndpointResolver, ClaimsProvider, SafeCloseable, NamedImplementation, AutoCloseable

public class DataRoutingServiceK8sImpl extends DataRoutingService.Delegating implements DynamicResolverMixin
Implementation for use in a Kubernetes environment that does some special handling for the LoggAggregatorEndpoint, which would otherwise default to a k8s pod name. As that value is used in the 5-tuple used to name bin log files, that results in an unwieldy number of partitions. This allows for other values, e.g. a k8s node (host) name. This wraps another DataRoutingService implementation, and delegates other calls to that instance.