Package io.openlineage.client
Class OpenLineageConfig<T extends OpenLineageConfig>
java.lang.Object
io.openlineage.client.OpenLineageConfig<T>
- Type Parameters:
T
- generic type extendingOpenLineageConfig
, used for merging config objects
- All Implemented Interfaces:
MergeConfig<T>
public class OpenLineageConfig<T extends OpenLineageConfig>
extends Object
implements MergeConfig<T>
Configuration for
OpenLineageClient
.-
Field Summary
Modifier and TypeFieldDescriptionprotected CircuitBreakerConfig
protected DatasetConfig
protected FacetsConfig
protected TransportConfig
-
Constructor Summary
ConstructorDescriptionOpenLineageConfig
(TransportConfig transportConfig, FacetsConfig facetsConfig, DatasetConfig datasetConfig, CircuitBreakerConfig circuitBreaker, Map<String, Object> metricsConfig) -
Method Summary
Modifier and TypeMethodDescriptionOverwrites existing object with properties of other config entries whenever they're present.void
setCircuitBreaker
(CircuitBreakerConfig circuitBreaker) void
setDatasetConfig
(DatasetConfig datasetConfig) void
setFacetsConfig
(FacetsConfig facetsConfig) void
setMetricsConfig
(Map<String, Object> metricsConfig) void
setTransportConfig
(TransportConfig transportConfig) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.openlineage.client.MergeConfig
mergePropertyWith, mergePropertyWith, mergeWith, mergeWithDefaultValue
-
Field Details
-
transportConfig
-
facetsConfig
-
datasetConfig
-
circuitBreaker
-
metricsConfig
-
-
Constructor Details
-
OpenLineageConfig
public OpenLineageConfig() -
OpenLineageConfig
public OpenLineageConfig(TransportConfig transportConfig, FacetsConfig facetsConfig, DatasetConfig datasetConfig, CircuitBreakerConfig circuitBreaker, Map<String, Object> metricsConfig)
-
-
Method Details
-
mergeWithNonNull
Overwrites existing object with properties of other config entries whenever they're present.- Specified by:
mergeWithNonNull
in interfaceMergeConfig<T extends OpenLineageConfig>
- Parameters:
other
- value to merge- Returns:
- merged config entry
-
getTransportConfig
-
getFacetsConfig
-
getDatasetConfig
-
getCircuitBreaker
-
getMetricsConfig
-
setTransportConfig
-
setFacetsConfig
-
setDatasetConfig
-
setCircuitBreaker
-
setMetricsConfig
-