Skip to content

pubsub: add support for dead letter topics #10161

@hongalex

Description

@hongalex

Add fields necessary to create/update subscriptions with a dead letter policy. This allows messages to be redelivered to a separate dead letter topic after a configured number of
delivery attempts have failed (nack/ack_deadline expired).

In addition to adding DeadLetterPolicy to a Subscription, we need to properly expose the delivery_attempt field in the client. This is done one of two ways, so for detailed implementation details, please consult the detailed information guide that Prad wrote. Feel free to ping me if you need a link to this.

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions