Interface EndpointResolver
- All Known Subinterfaces:
DataRoutingService,DataRoutingService.NonListening,DynamicResolverMixin,WritableDataRoutingService,WritableDataRoutingServiceInternal
- All Known Implementing Classes:
DataRoutingService.Delegating,DataRoutingServiceCachingImpl,DataRoutingServiceK8sImpl,DataRoutingServiceKvEtcdImpl,DataRoutingServiceKvImpl,DataRoutingServiceKvInMemImpl,DataRoutingServiceYmlImpl,DataRoutingServiceYmlImpl.ResolvingImpl,InvalidDataRoutingService,TableDataServiceFactory
public interface EndpointResolver
Methods for converting endpoint configs into deferred endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionPerform any lookups and transformations required to convert aLogAggregatorConfig.EndpointConfiginto aLogAggregatorConfig.Endpointthat can be used for logging to a log aggregator service.Perform any lookups and transformations required to convert aDataRoutingService.EndpointConfiginto aDataRoutingService.Endpointthat can be used to connect to a remote table data service.Perform any lookups and transformations required to convert aDataImportServiceConfig.EndpointConfiginto aDataImportServiceConfig.Endpointthat can be used to connect to a DIS tailer service.
-
Method Details
-
resolveTailerEndpoint
@NotNull DataImportServiceConfig.DeferredEndpoint resolveTailerEndpoint(@NotNull DataImportServiceConfig.EndpointConfig config) Perform any lookups and transformations required to convert aDataImportServiceConfig.EndpointConfiginto aDataImportServiceConfig.Endpointthat can be used to connect to a DIS tailer service.- Parameters:
config- the endpoint configuration- Returns:
- an Endpoint for tailing data
-
resolveLogAggregatorEndpoint
@NotNull LogAggregatorConfig.DeferredEndpoint resolveLogAggregatorEndpoint(LogAggregatorConfig.EndpointConfig config) Perform any lookups and transformations required to convert aLogAggregatorConfig.EndpointConfiginto aLogAggregatorConfig.Endpointthat can be used for logging to a log aggregator service.- Parameters:
config- the log aggregator endpoint configuration- Returns:
- an Endpoint for the configuration
-
resolveTableDataEndpoint
@NotNull DataRoutingService.DeferredEndpoint resolveTableDataEndpoint(@NotNull DataRoutingService.EndpointConfig config) Perform any lookups and transformations required to convert aDataRoutingService.EndpointConfiginto aDataRoutingService.Endpointthat can be used to connect to a remote table data service.- Parameters:
config- the table data service endpoint configuration- Returns:
- the table data service endpoint
-