From f7c4135bd6e9912e7c93727d7d4d7424fdb0dfda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Barroso?= Date: Wed, 2 Oct 2024 12:31:04 +0200 Subject: [PATCH] doc: Update schema extraction page (#144) * Update schema-extraction page * small tweak --- .../configuration-parameters/schema-extraction.mdx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/connectors/configuration-parameters/schema-extraction.mdx b/docs/connectors/configuration-parameters/schema-extraction.mdx index 81c37310..43841950 100644 --- a/docs/connectors/configuration-parameters/schema-extraction.mdx +++ b/docs/connectors/configuration-parameters/schema-extraction.mdx @@ -25,6 +25,13 @@ connectors): key should be extracted. * `sdk.schema.extract.key.subject`: The subject of the key schema. + +:::caution +`sdk.schema.extract.payload.enabled` and `sdk.schema.extract.key.enabled` should be set to `false` when producing raw (not structured) data, as shown in the example below. + +If you are developing a connector, you can disable this automatically by updating the connector's default middleware. For more information about `NewSource()` when developing a source connector, see [here](/docs/connectors/building-connectors/developing-source-connectors/#newsource). +::: + ## Example The below pipeline will generate a single record and write it to a file. Notice @@ -90,3 +97,9 @@ something below in the record's metadata: "opencdc.payload.schema.subject": "generator-to-file:file-src:users.payload", "opencdc.payload.schema.version": "1" ``` + +:::tip + +To learn more about **Schema Support**, check out [this page](/docs/features/schema-support). + +:::