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

Add synchronous acknowledgment methods to IConsumer interface #111

Merged
merged 1 commit into from
May 26, 2024

Conversation

Havret
Copy link
Owner

@Havret Havret commented May 26, 2024

This commit introduces two new methods to the IConsumer interface:

  1. Acknowledge, which provides a fire-and-forget mechanism for acknowledging all messages received by the consumer. This method does not wait for broker confirmation.
  2. IndividualAcknowledge, similar to Acknowledge, but used for acknowledging individual messages without waiting for broker confirmation.

Both methods are intended for scenarios where waiting for acknowledgment confirmation is not required, enhancing flexibility in message processing.

This commit introduces two new methods to the IConsumer interface:
1. `Acknowledge`, which provides a fire-and-forget mechanism for acknowledging all messages received by the consumer. This method does not wait for broker confirmation.
2. `IndividualAcknowledge`, similar to `Acknowledge`, but used for acknowledging individual messages without waiting for broker confirmation.

Both methods are intended for scenarios where waiting for acknowledgment confirmation is not required, enhancing flexibility in message processing.
@Havret Havret added the enhancement New feature or request label May 26, 2024
@Havret Havret merged commit cbdc7f6 into main May 26, 2024
1 check passed
@Havret Havret deleted the add-sync-ack-methods branch May 26, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant