Documentation ¶
Index ¶
Constants ¶
View Source
const LatestVersion = "1.1"
View Source
const MajorVersion = "1"
Variables ¶
View Source
var Changelog = internal.Changelog{ "1.0": {{ Field: "pipelines.*.processors", ChangeType: internal.FieldDeprecated, Message: "the order of processors is non-deterministic in configuration files with version 1.x, please upgrade to version 2.x", }, { Field: "pipelines.*.connectors.*.processors", ChangeType: internal.FieldDeprecated, Message: "the order of processors is non-deterministic in configuration files with version 1.x, please upgrade to version 2.x", }}, "1.1": {{ Field: "pipelines.*.dead-letter-queue", ChangeType: internal.FieldIntroduced, Message: "field dead-letter-queue was introduced in version 1.1, please update the pipeline config version", }}, }
Changelog should be adjusted every time we change the pipeline config and add a new config version. Based on the changelog the parser will output warnings.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Version string `yaml:"version"` Pipelines map[string]Pipeline `yaml:"pipelines"` }
func (Configuration) ToConfig ¶
func (c Configuration) ToConfig() []config.Pipeline
type Connector ¶
type DLQ ¶
Click to show internal directories.
Click to hide internal directories.