Skip to content

feat(pubsub): use Streaming Pull response for ordering check#9682

Merged
hongalex merged 5 commits into
googleapis:mainfrom
hongalex:pubsub-remove-get-subscription-ordering
Apr 9, 2024
Merged

feat(pubsub): use Streaming Pull response for ordering check#9682
hongalex merged 5 commits into
googleapis:mainfrom
hongalex:pubsub-remove-get-subscription-ordering

Conversation

@hongalex

@hongalex hongalex commented Apr 1, 2024

Copy link
Copy Markdown
Member

This PR switches the ordering check on subscription away from the GetSubscription call to reading the ordering field of the StreamingPull response instead.

Fixes #9374

@hongalex
hongalex requested a review from shollyman as a code owner April 1, 2024 22:37
@hongalex
hongalex requested review from a team April 1, 2024 22:37
@product-auto-label product-auto-label Bot added the api: pubsub Issues related to the Pub/Sub API. label Apr 1, 2024
@alvarowolfx
alvarowolfx self-requested a review April 8, 2024 21:11

@alvarowolfx alvarowolfx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nit, but looks good to me.

Comment thread pubsub/iterator.go Outdated
@hongalex
hongalex enabled auto-merge (squash) April 9, 2024 00:22
@hongalex
hongalex merged commit 7bf4904 into googleapis:main Apr 9, 2024
@hongalex
hongalex deleted the pubsub-remove-get-subscription-ordering branch April 9, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pubsub: remove GetSubscription call when pulling with ordering keys

3 participants