-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][io] Acknowledge RabbitMQ message after processing the message successfully #24354
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
[fix][io] Acknowledge RabbitMQ message after processing the message successfully #24354
Conversation
…n the source connector has completed successfully
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #24354 +/- ##
============================================
+ Coverage 73.57% 74.25% +0.68%
+ Complexity 32624 2405 -30219
============================================
Files 1877 1866 -11
Lines 139502 145140 +5638
Branches 15299 16595 +1296
============================================
+ Hits 102638 107779 +5141
+ Misses 28908 28834 -74
- Partials 7956 8527 +571
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
6c1b525 to
9443e02
Compare
david-streamlio
left a comment
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.
LGTM
…uccessfully (apache#24354) (cherry picked from commit 76c6f6a) (cherry picked from commit 43c9399)
…uccessfully (apache#24354) (cherry picked from commit 76c6f6a) (cherry picked from commit c470b6d)
…uccessfully (apache#24354) (cherry picked from commit 76c6f6a) (cherry picked from commit 43c9399)
…uccessfully (apache#24354) (cherry picked from commit 76c6f6a) (cherry picked from commit 43c9399)
…uccessfully (apache#24354) (cherry picked from commit 76c6f6a) (cherry picked from commit c470b6d)
…uccessfully (apache#24354) (cherry picked from commit 76c6f6a) (cherry picked from commit 43c9399)
…uccessfully (apache#24354) (cherry picked from commit 76c6f6a) (cherry picked from commit 43c9399)
…uccessfully (apache#24354) (cherry picked from commit 76c6f6a)
Fixes #24353
Motivation
See #24346
Modifications
add
ackFunctionandfailFunctionto the internalRabbitMQRecordclass and use these functions in theackandfailimplementations of theRecordinterface.switch to use individual acks towards RabbitMQ since there's no benefit of using "multi" acks when every message will get acked in any case
Documentation
docdoc-requireddoc-not-neededdoc-complete