Skip to content

Commit

Permalink
docs: clarified where ordering_key will be written if write_metadata …
Browse files Browse the repository at this point in the history
…is set

PiperOrigin-RevId: 551210991
  • Loading branch information
Google APIs authored and Copybara-Service committed Jul 26, 2023
1 parent 51e04ba commit 7c762d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion google/pubsub/v1/pubsub.proto
Expand Up @@ -1030,7 +1030,11 @@ message CloudStorageConfig {
// Message payloads and metadata will be written to files as an Avro binary.
message AvroConfig {
// When true, write the subscription name, message_id, publish_time,
// attributes, and ordering_key as additional fields in the output.
// 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.
bool write_metadata = 1;
}

Expand Down

0 comments on commit 7c762d7

Please sign in to comment.