Interface EndpointResolver
- All Known Subinterfaces:
DataRoutingService
,DynamicResolverMixin
,WritableDataRoutingService
,WritableDataRoutingServiceImpl
- All Known Implementing Classes:
DataRoutingService.Delegating
,DataRoutingServiceK8sImpl
,DataRoutingServiceKvEtcdImpl
,DataRoutingServiceKvImpl
,DataRoutingServiceKvInMemImpl
,DataRoutingServiceYmlImpl
,DataRoutingServiceYmlImpl.ResolvingImpl
,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.EndpointConfig
into aLogAggregatorConfig.Endpoint
that can be used for logging to a log aggregator service.Perform any lookups and transformations required to convert aDataRoutingService.EndpointConfig
into aDataRoutingService.Endpoint
that can be used to connect to a remote table data service.Perform any lookups and transformations required to convert aDataImportServiceConfig.EndpointConfig
into aDataImportServiceConfig.Endpoint
that can be used to connect to a DIS tailer service.
-
Method Details
-
resolveTailerEndpoint
DataImportServiceConfig.DeferredEndpoint resolveTailerEndpoint(@NotNull DataImportServiceConfig.EndpointConfig config) Perform any lookups and transformations required to convert aDataImportServiceConfig.EndpointConfig
into aDataImportServiceConfig.Endpoint
that 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.EndpointConfig
into aLogAggregatorConfig.Endpoint
that 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.EndpointConfig
into aDataRoutingService.Endpoint
that 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
-