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 class
DeferredEndpoint implementation for DIS endpoint that has its endpoint registered in service registrystatic class
DeferredEndpoint implementation that usesServiceRegistryService
to resolve endpointsstatic class
DeferredEndpoint 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.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
-
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
-