-
Notifications
You must be signed in to change notification settings - Fork 370
Add pubsub.subscription to GCP pubsub pull subsciptions
#7446
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
Merged
+9
−6
Merged
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
2fa81c2
Add pubsub.subscription to pull subsciptions
nina9753 de4da29
update to name
nina9753 032d038
Merge branch 'master' into nina.rei/fix/add_gcp_pubsub_subscription
nina9753 822b87f
update the tests
nina9753 46522ee
Merge branch 'master' into nina.rei/fix/add_gcp_pubsub_subscription
nina9753 7dfe665
update tests
nina9753 20253b0
Update packages/datadog-plugin-google-cloud-pubsub/test/index.spec.js
nina9753 58b0b3d
Update packages/datadog-plugin-google-cloud-pubsub/test/index.spec.js
nina9753 085eaf6
Merge branch 'master' into nina.rei/fix/add_gcp_pubsub_subscription
nina9753 cbbabfd
simplify the tests
nina9753 67d302b
Merge branch 'master' into nina.rei/fix/add_gcp_pubsub_subscription
nina9753 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
For pull subscriptions, the Pub/Sub
Messageobject exposes the server-assigned ID asmessage.id(this was what the code used before). Switching the tag tomessage.messageIdmeans the tag will beundefinedfor standard pull messages, sopubsub.message_idstops being recorded and downstream correlation/debugging based on message ID is lost. This regression only affects pull subscriptions where theMessageinstance does not include amessageIdalias.Useful? React with 👍 / 👎.