AvroConfig class

Configuration for writing message data in Avro format.

Message payloads and metadata will be written to files as an Avro binary.

Constructors

AvroConfig({bool? useTopicSchema, bool? writeMetadata})
AvroConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useTopicSchema bool?
When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
getter/setter pair
writeMetadata bool?
When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited