Cloud
avro
Performs Avro based operations on messages based on a schema.
# Config fields, showing default values
label: ""
avro:
operator: "" # No default (required)
encoding: textual
schema: ""
schema_path: ""
If you are consuming or generating messages using a schema registry service then it is likely this processor will fail as those services require messages to be prefixed with the identifier of the schema version being used. Instead, try the schema_registry_encode and schema_registry_decode processors.
|
Operators
Fields
encoding
An Avro encoding format to use for conversions to and from a schema.
Type: string
Default: textual
Options: textual, binary, single
schema_path
The path of a schema document to apply. Use either this or the schema field. URLs must begin with file:// or http://. Note that file:// URLs must use absolute paths (e.g. file:///absolute/path/to/spec.avsc); relative paths are not supported.
Type: string
Default: ""
# Examples:
schema_path: file:///path/to/spec.avsc
# ---
schema_path: http://localhost:8081/path/to/spec/versions/1
Was this helpful?