Skip to content
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

Introduce MessageBatch to QueuePuller #56

Merged
merged 11 commits into from
Sep 26, 2024
Merged

Introduce MessageBatch to QueuePuller #56

merged 11 commits into from
Sep 26, 2024

Conversation

mladens
Copy link
Contributor

@mladens mladens commented Sep 24, 2024

Adds new methods to QueuePuller and QueueSubscriber for processing messages via batches which allow acking/nacking all messages in a single call if the underlying client supports it. Implementations which do not provide dedicated batching methods will fallback to per-message acking which is not atomic.

  • SQS
  • PubSub
  • ServiceBus (implementation detail of the reactive driver, no dedicated batch methods)

Allows for batched  n/acking when underlying implementation supports it
@satabin
Copy link
Collaborator

satabin commented Sep 25, 2024

Looks overall good. One last thing: can you add documentation with a compiling example on the website (here) similar to the one we have for messages?

@mladens mladens merged commit b533516 into main Sep 26, 2024
10 checks passed
@mladens mladens deleted the message-batch branch September 26, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants