Interface DynamicResolverMixin
- All Superinterfaces:
EndpointResolver
- All Known Implementing Classes:
DataRoutingServiceK8sImpl,DataRoutingServiceKvEtcdImpl,DataRoutingServiceKvInMemImpl,DataRoutingServiceYmlImpl.ResolvingImpl,TableDataServiceFactory
public interface DynamicResolverMixin extends EndpointResolver
Implementations can implement this interface to include a default implementation for the resolve methods.
This class recognizes static and process registry service registry types.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDynamicResolverMixin.DeferredDISEndpointServiceRegistryImplDeferredEndpoint implementation for DIS endpoint that has its endpoint registered in service registrystatic classDynamicResolverMixin.DeferredEndpointServiceRegistryImplDeferredEndpoint implementation that usesServiceRegistryServiceto resolve endpointsstatic classDynamicResolverMixin.DeferredLASEndpointServiceRegistryImplDeferredEndpoint implementation for LAS endpoint that has its endpoint registered in service registry -
Method Summary
Modifier and Type Method Description default LogAggregatorConfig.DeferredEndpointresolveLogAggregatorEndpoint(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.default DataRoutingService.DeferredEndpointresolveTableDataEndpoint(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.default DataImportServiceConfig.DeferredEndpointresolveTailerEndpoint(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.
-
Method Details
-
resolveLogAggregatorEndpoint
@NotNull default LogAggregatorConfig.DeferredEndpoint resolveLogAggregatorEndpoint(@NotNull LogAggregatorConfig.EndpointConfig config)Description copied from interface:EndpointResolverPerform any lookups and transformations required to convert aLogAggregatorConfig.EndpointConfiginto aLogAggregatorConfig.Endpointthat can be used for logging to a log aggregator service.- Specified by:
resolveLogAggregatorEndpointin interfaceEndpointResolver- Parameters:
config- the log aggregator endpoint configuration- Returns:
- an Endpoint for the configuration
-
resolveTailerEndpoint
@NotNull default DataImportServiceConfig.DeferredEndpoint resolveTailerEndpoint(@NotNull DataImportServiceConfig.EndpointConfig config)Description copied from interface:EndpointResolverPerform any lookups and transformations required to convert aDataImportServiceConfig.EndpointConfiginto aDataImportServiceConfig.Endpointthat can be used to connect to a DIS tailer service.- Specified by:
resolveTailerEndpointin interfaceEndpointResolver- Parameters:
config- the endpoint configuration- Returns:
- an Endpoint for tailing data
-
resolveTableDataEndpoint
@NotNull default DataRoutingService.DeferredEndpoint resolveTableDataEndpoint(@NotNull DataRoutingService.EndpointConfig config)Description copied from interface:EndpointResolverPerform any lookups and transformations required to convert aDataRoutingService.EndpointConfiginto aDataRoutingService.Endpointthat can be used to connect to a remote table data service.- Specified by:
resolveTableDataEndpointin interfaceEndpointResolver- Parameters:
config- the table data service endpoint configuration- Returns:
- the table data service endpoint
-