Skip to content

Latest commit

 

History

History

avrologencodingextension

AVRO Log encoding extension

Status
Stability development
Distributions []
Issues Open issues Closed issues
Code Owners @thmshmm

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" }
        ]
      }