diff --git a/examples/pipelines/file-to-file.yml b/examples/pipelines/file-to-file.yml index 042b420b8..b77df8f4c 100644 --- a/examples/pipelines/file-to-file.yml +++ b/examples/pipelines/file-to-file.yml @@ -1,6 +1,6 @@ -version: 1.0 +version: 2.0 pipelines: - file-to-file: + - id: file-to-file status: running description: > Example pipeline reading from file "example.in" and writing into file @@ -8,12 +8,12 @@ pipelines: record, the field "payload.after" will contain the base64 encoded line written in "example.in". connectors: - example.in: + - id: example.in type: source plugin: builtin:file settings: path: ./example.in - example.out: + - id: example.out type: destination plugin: builtin:file settings: diff --git a/examples/processors/pipeline-extract-field-transform.yml b/examples/processors/pipeline-extract-field-transform.yml index 5c6fc5636..27e7755af 100644 --- a/examples/processors/pipeline-extract-field-transform.yml +++ b/examples/processors/pipeline-extract-field-transform.yml @@ -1,23 +1,23 @@ -version: 1.0 +version: 2.0 pipelines: - test-pipeline-builtin-processor: + - id: test-pipeline-builtin-processor status: running description: Test pipeline with built-in processor connectors: - generator-source: + - id: generator-source type: source plugin: builtin:generator settings: format.type: "structured" format.options: "id:int,name:string,company:string,trial:bool" recordCount: "3" - file-destination: + - id: file-destination type: destination plugin: builtin:file settings: path: /file_destination.txt processors: - extract-name: + - id: extract-name type: extractfieldpayload settings: field: name