AVRO Log encoding extension
The avrolog
encoding extension is used to unmarshal AVRO and insert it into the body of a log record. Marshalling is not supported.
The extension accepts a configuration option to specify the Avro schema to use to read the log record body.
Example:
extensions:
avro_log_encoding:
schema: |
{
"type" : "record",
"namespace" : "example",
"name" : "Datapoint",
"fields" : [
{ "name" : "Key" , "type" : "string" },
{ "name" : "Value" , "type" : "int" }
]
}