Class AvroConfig (2.17.0)

AvroConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.

Attribute

NameDescription
write_metadata bool
When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output.