Support loading Avro schema from file #19663
Labels
domain: codecs
Anything related to Vector's codecs (encoding/decoding)
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
For various sources and sinks like Kafka, one must currently inline the Avro schema via
encoding.avro.schema
ordecoding.avro.schema
into the config which is cumbersome because of escaping and general unwieldiness of big JSON strings.Proposal
Add a option
encoding.avro.schema_file
that is treated mutually exclusive withencoding.avro.schema
to load the schema from a relative or absolute file path:encoding.avro.schema_file = "./schema.json"
file
option ofremap
.Version
0.35.0
The text was updated successfully, but these errors were encountered: