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 class
DynamicResolverMixin.DeferredDISEndpointServiceRegistryImpl
DeferredEndpoint implementation for DIS endpoint that has its endpoint registered in service registrystatic class
DynamicResolverMixin.DeferredEndpointServiceRegistryImpl
DeferredEndpoint implementation that usesServiceRegistryService
to resolve endpointsstatic class
DynamicResolverMixin.DeferredLASEndpointServiceRegistryImpl
DeferredEndpoint implementation for LAS endpoint that has its endpoint registered in service registry -
Method Summary
Modifier and Type Method Description default 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.default DataRoutingService.DeferredEndpoint
resolveTableDataEndpoint(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.default DataImportServiceConfig.DeferredEndpoint
resolveTailerEndpoint(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.
-
Method Details
-
resolveLogAggregatorEndpoint
@NotNull default LogAggregatorConfig.DeferredEndpoint resolveLogAggregatorEndpoint(@NotNull LogAggregatorConfig.EndpointConfig config)Description copied from interface:EndpointResolver
Perform any lookups and transformations required to convert aLogAggregatorConfig.EndpointConfig
into aLogAggregatorConfig.Endpoint
that can be used for logging to a log aggregator service.- Specified by:
resolveLogAggregatorEndpoint
in 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:EndpointResolver
Perform any lookups and transformations required to convert aDataImportServiceConfig.EndpointConfig
into aDataImportServiceConfig.Endpoint
that can be used to connect to a DIS tailer service.- Specified by:
resolveTailerEndpoint
in 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:EndpointResolver
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.- Specified by:
resolveTableDataEndpoint
in interfaceEndpointResolver
- Parameters:
config
- the table data service endpoint configuration- Returns:
- the table data service endpoint
-