Class BaseConfig
Base configuration object for extractors. The config should have a version property, so that versioning and compatibility can be tracked by the extractor.
Inherited Members
VersionedConfig.Version
VersionedConfig.KeyVault
Namespace: Cognite.Extractor.Utils
Assembly: ExtractorUtils.dll
Syntax
public class BaseConfig : VersionedConfig
Properties
| Edit this page View SourceCognite
Cognite configuration (optional)
Declaration
public CogniteConfig Cognite { get; set; }
Property Value
Type | Description |
---|---|
CogniteConfig | A CogniteConfig config object |
Logger
Logging configuration (optional)
Declaration
public LoggerConfig Logger { get; set; }
Property Value
Type | Description |
---|---|
LoggerConfig | A LoggerConfig config object |
Metrics
Metrics configuration (optional)
Declaration
public MetricsConfig Metrics { get; set; }
Property Value
Type | Description |
---|---|
MetricsConfig | A MetricsConfig config object |
StateStore
Configuration for extraction state storage (optional)
Declaration
public StateStoreConfig StateStore { get; set; }
Property Value
Type | Description |
---|---|
StateStoreConfig |
Type
Type of configuration this represents, local or remote. Will generally always be local.
Declaration
public ConfigurationMode Type { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationMode |
Methods
| Edit this page View SourceGenerateDefaults()
Generate default configuration objects if the corresponding tags are not present in the yaml config file/string
Declaration
public override void GenerateDefaults()
Overrides
Cognite.Extractor.Configuration.VersionedConfig.GenerateDefaults()