Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AvroConfig

import type { AvroConfig } from "https://googleapis.deno.dev/v1/pubsub:v1.ts";

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

interface AvroConfig {
writeMetadata?: boolean;
}

§Properties

§
writeMetadata?: boolean
[src]

Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.