From 2128b07e75d0163ed7b5b64d93f87efd709252b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lovro=20Ma=C5=BEgon?= Date: Fri, 6 Sep 2024 16:51:26 +0200 Subject: [PATCH] fix yaml formatting in schema extraction example (#131) --- .../schema-extraction.mdx | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/connectors/configuration-parameters/schema-extraction.mdx b/docs/connectors/configuration-parameters/schema-extraction.mdx index f39b0305..81c37310 100644 --- a/docs/connectors/configuration-parameters/schema-extraction.mdx +++ b/docs/connectors/configuration-parameters/schema-extraction.mdx @@ -34,30 +34,30 @@ encode the data. ```yaml version: "2.2" pipelines: - - id: generator-to-file - status: running - name: generator-to-file - description: Generates a single record, no schema generated, writes to file - connectors: - - id: file-src - type: source - plugin: builtin:generator - name: file-src - settings: - recordCount: "1" - collections.users.format.type: structured - collections.users.format.options.id: int - collections.users.format.options.name: string - - sdk.schema.extract.payload.enabled: false - sdk.schema.extract.key.enabled: false - - - id: file-dest - type: destination - plugin: builtin:file - name: file-dest - settings: - path: /tmp/file-destination.txt + - id: generator-to-file + status: running + name: generator-to-file + description: Generates a single record, no schema generated, writes to file + connectors: + - id: file-src + type: source + plugin: builtin:generator + name: file-src + settings: + recordCount: "1" + collections.users.format.type: structured + collections.users.format.options.id: int + collections.users.format.options.name: string + + sdk.schema.extract.payload.enabled: false + sdk.schema.extract.key.enabled: false + + - id: file-dest + type: destination + plugin: builtin:file + name: file-dest + settings: + path: /tmp/file-destination.txt ``` When the pipeline is run, `/tmp/file-destination.txt` will contain output similar to this: