Skip to content

Commit

Permalink
feat: Add ordering_key to PubsubMessage
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 369245730
  • Loading branch information
yoshi-code-bot authored and grant committed Apr 21, 2021
1 parent c496d3a commit d619aee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proto/google/events/cloud/pubsub/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@ message PubsubMessage {
// The time at which the message was published, populated by the server when
// it receives the `Publish` call.
google.protobuf.Timestamp publish_time = 4;

// If non-empty, identifies related messages for which publish order should be
// respected.
string ordering_key = 5;
}

0 comments on commit d619aee

Please sign in to comment.