Skip to content

feat(pubsub): exactly-once delivery#9436

Merged
coryan merged 3 commits intogoogleapis:mainfrom
coryan:feat-pubsub-exactly-once-delivery-pr1
Jul 7, 2022
Merged

feat(pubsub): exactly-once delivery#9436
coryan merged 3 commits intogoogleapis:mainfrom
coryan:feat-pubsub-exactly-once-delivery-pr1

Conversation

@coryan
Copy link
Copy Markdown
Contributor

@coryan coryan commented Jul 6, 2022

Implement the API to subscribe with exactly-once delivery, make
ExactlyOnceAckHandler public, add the samples, and also add an
integration test.

Part of the work for #9327


This change is Reviewable

@product-auto-label product-auto-label Bot added the api: pubsub Issues related to the Pub/Sub API. label Jul 6, 2022
@snippet-bot
Copy link
Copy Markdown

snippet-bot Bot commented Jul 6, 2022

Here is the summary of changes.

You are about to add 2 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: 643fea0b9247a67c6e5c09a8332dfd8699e4ea19

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 6, 2022

Codecov Report

Merging #9436 (a6f80dc) into main (2e1a647) will increase coverage by 0.00%.
The diff coverage is 98.96%.

@@           Coverage Diff            @@
##             main    #9436    +/-   ##
========================================
  Coverage   94.62%   94.62%            
========================================
  Files        1486     1487     +1     
  Lines      136452   136623   +171     
========================================
+ Hits       129116   129282   +166     
- Misses       7336     7341     +5     
Impacted Files Coverage Δ
google/cloud/pubsub/exactly_once_ack_handler.cc 100.00% <ø> (ø)
google/cloud/pubsub/exactly_once_ack_handler.h 70.58% <ø> (ø)
...ogle/cloud/pubsub/exactly_once_ack_handler_test.cc 100.00% <ø> (ø)
...ubsub/internal/subscription_concurrency_control.cc 94.02% <ø> (ø)
...pubsub/internal/subscription_concurrency_control.h 100.00% <ø> (ø)
.../internal/subscription_concurrency_control_test.cc 100.00% <ø> (ø)
...cloud/pubsub/internal/subscription_session_test.cc 98.49% <ø> (ø)
google/cloud/pubsub/subscriber_connection.cc 77.46% <84.61%> (-1.33%) ⬇️
...b/integration_tests/subscriber_integration_test.cc 98.57% <100.00%> (+0.24%) ⬆️
...ogle/cloud/pubsub/internal/subscription_session.cc 96.12% <100.00%> (-0.03%) ⬇️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e1a647...a6f80dc. Read the comment docs.

@coryan coryan marked this pull request as ready for review July 6, 2022 21:10
@coryan coryan requested a review from a team July 6, 2022 21:10
Comment thread google/cloud/pubsub/integration_tests/subscriber_integration_test.cc Outdated
Comment thread google/cloud/pubsub/integration_tests/subscriber_integration_test.cc Outdated
Comment thread google/cloud/pubsub/subscriber.h Outdated
Comment thread google/cloud/pubsub/subscriber.h Outdated
Comment thread google/cloud/pubsub/subscriber.h
Comment thread google/cloud/pubsub/subscriber_connection_test.cc
coryan added 2 commits July 7, 2022 13:27
Implement the API to subscribe with exactly-once delivery, make
`ExactlyOnceAckHandler` public, add the samples, and also add an
integration test.
@coryan coryan force-pushed the feat-pubsub-exactly-once-delivery-pr1 branch from 643fea0 to 156cc88 Compare July 7, 2022 13:52
@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: 156cc88027caadadfec66cfb2e73b6b874c0a8ab

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

Comment thread google/cloud/pubsub/subscriber_connection.h Outdated
Comment thread google/cloud/pubsub/subscriber.h
Comment thread google/cloud/pubsub/integration_tests/subscriber_integration_test.cc Outdated
@coryan coryan enabled auto-merge (squash) July 7, 2022 14:41
@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: a6f80dcd6de39b9e11016fb26d87b4cb90ec7022

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@coryan coryan merged commit a12ed2c into googleapis:main Jul 7, 2022
@coryan coryan deleted the feat-pubsub-exactly-once-delivery-pr1 branch July 7, 2022 15:36
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.

3 participants