-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pubsub: add samples for dead letter topics #1279
Conversation
Seems like CI is failing on tests unrelated to pubsub (jobs API) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see a test for pullMsgsDeadLetterDeliveryAttempt
when dead lettering is triggered vs. not triggered.
Have you considered triggering dead lettering on a push subscription using bad credentials?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the test for delivery attempt! I added a few more suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more small comment then LGTM.
go.mod
Outdated
@@ -1,19 +1,19 @@ | |||
module github.com/GoogleCloudPlatform/golang-samples | |||
|
|||
go 1.11 | |||
go 1.14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep as 1.11. This signifies the Go version compatibility, which we need to keep at 1.11, the oldest supported GAE/GCF version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to see the library tests cover a wider range of scenarios! LGTM.
No description provided.