Skip to content

KAFKA-10658 ErrantRecordReporter.report always return completed futur…#9525

Merged
chia7712 merged 3 commits intoapache:trunkfrom
chia7712:KAFKA-10658
Jan 28, 2021
Merged

KAFKA-10658 ErrantRecordReporter.report always return completed futur…#9525
chia7712 merged 3 commits intoapache:trunkfrom
chia7712:KAFKA-10658

Conversation

@chia7712
Copy link
Copy Markdown
Member

issue: https://issues.apache.org/jira/browse/KAFKA-10658

This issue happens when both DLQ and error log are enabled. There is a incorrect filter in handling multiple reports and it results in the uncompleted future is filtered out. Hence, users always receive a completed future even though the record is still in producer buffer.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@chia7712 chia7712 self-assigned this Oct 29, 2020
@chia7712
Copy link
Copy Markdown
Member Author

@aakashnshah @rhauch @kkonstantine Could you take a look? This issue was related to #8720 and you guys are experts on that.

@rhauch rhauch added the connect label Oct 29, 2020
Copy link
Copy Markdown
Member

@showuon showuon left a comment

Choose a reason for hiding this comment

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

Nice find! Left a small suggestion!

@chia7712 chia7712 force-pushed the KAFKA-10658 branch 2 times, most recently from 70a27f2 to d729abf Compare November 4, 2020 03:24
@chia7712
Copy link
Copy Markdown
Member Author

@dajac Could you please take a look?

@chia7712 chia7712 requested a review from kkonstantine January 25, 2021 07:22
Copy link
Copy Markdown
Contributor

@kkonstantine kkonstantine left a comment

Choose a reason for hiding this comment

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

Nice find.
LGTM

Good to backport up to 2.6.

@chia7712 chia7712 merged commit 923dea3 into apache:trunk Jan 28, 2021
chia7712 added a commit that referenced this pull request Jan 28, 2021
#9525)

Reviewers: Konstantine Karantasis <k.karantasis@gmail.com>
@chia7712
Copy link
Copy Markdown
Member Author

merge to trunk, 2.7 and 2.6

chia7712 added a commit that referenced this pull request Jan 28, 2021
#9525)

Reviewers: Konstantine Karantasis <k.karantasis@gmail.com>
@chia7712 chia7712 deleted the KAFKA-10658 branch March 25, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants