Interface DynamicResolverMixin
- All Superinterfaces:
EndpointResolver
- All Known Implementing Classes:
DataRoutingServiceK8sImpl,DataRoutingServiceKvEtcdImpl,DataRoutingServiceKvInMemImpl,DataRoutingServiceYmlImpl.ResolvingImpl,TableDataServiceFactory
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 ClassesModifier and TypeInterfaceDescriptionstatic classDeferredEndpoint implementation for DIS endpoint that has its endpoint registered in service registrystatic classDeferredEndpoint implementation that usesServiceRegistryServiceto resolve endpointsstatic classDeferredEndpoint implementation for LAS endpoint that has its endpoint registered in service registry -
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
-
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
-