You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/plugin/processor/builtin/internal/exampleutil/specs/avro.decode.json
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -60,12 +60,7 @@
60
60
"summary": "Decode a record field in Avro format",
61
61
"description": "This example shows the usage of the `avro.decode` processor.\nThe processor decodes the record's`.Key` field using the schema that is\ndownloaded from the schema registry and needs to exist under the subject`example-decode`.\nIn this example we use the following schema:\n\n```json\n{\n\"type\":\"record\",\n\"name\":\"record\",\n\"fields\":[\n {\"name\":\"myString\",\"type\":\"string\"},\n {\"name\":\"myInt\",\"type\":\"int\"}\n ]\n}\n```",
Copy file name to clipboardExpand all lines: pkg/plugin/processor/builtin/internal/exampleutil/specs/avro.encode.json
-13Lines changed: 0 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -98,16 +98,9 @@
98
98
"summary": "Auto-register schema",
99
99
"description": "This example shows the usage of the `avro.encode` processor\nwith the `autoRegister` schema strategy. The processor encodes the record's\n`.Payload.After` field using the schema that is extracted from the data\nand registered on the fly under the subject `example-autoRegister`.",
"description": "This example shows the usage of the `avro.encode` processor\nwith the `preRegistered` schema strategy. When using this strategy, the\nschema has to be manually pre-registered. In this example we use the following schema:\n\n```json\n{\n\"type\":\"record\",\n\"name\":\"record\",\n\"fields\":[\n {\"name\":\"myString\",\"type\":\"string\"},\n {\"name\":\"myInt\",\"type\":\"int\"}\n ]\n}\n```\n\nThe processor encodes the record's`.Key` field using the above schema.",
0 commit comments