Skip to content

KAFKA-13694: When the Broker side processes the ProduceRequest, it prints more specific information when the verification record fails.#11830

Merged
guozhangwang merged 29 commits intoapache:trunkfrom
RivenSun2:KAFKA-13694
Mar 4, 2022

Conversation

@RivenSun2
Copy link
Copy Markdown
Contributor

When the Broker side processes the ProduceRequest, it prints more specific information when the verification record fails.

Story JIRA: https://issues.apache.org/jira/browse/KAFKA-13694

RivenSun2 and others added 29 commits September 19, 2021 17:59
… cpu and traffic on the broker side increase sharply

JIRA link : https://issues.apache.org/jira/browse/KAFKA-13310

Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
…sets method

JIRA link : https://issues.apache.org/jira/browse/KAFKA-13310

Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
2. Optimize the import of package

Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
add test Method "testForceMetadataDeleteForPatternSubscriptionDuringRebalance()"

Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
Author: RivenSun2 <riven.sun@zoom.us>

Reviewers: Luke Chen <showuon@gmail.com>
Author: RivenSun2 riven.sun@zoom.us
� Conflicts:
�	clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java
…ints more specific information when the verification record fails.

Story JIRA: https://issues.apache.org/jira/browse/KAFKA-13694
@RivenSun2
Copy link
Copy Markdown
Contributor Author

Hi @guozhangwang @showuon
please help to review PR when available.
Thanks.

@guozhangwang
Copy link
Copy Markdown
Contributor

Thanks @RivenSun2 , the changes LGTM.

@guozhangwang
Copy link
Copy Markdown
Contributor

Looked into the jenkins and they are irrelevant. Merging to trunk.

@guozhangwang guozhangwang merged commit 3be9784 into apache:trunk Mar 4, 2022
@RivenSun2
Copy link
Copy Markdown
Contributor Author

Hi @guozhangwang
Could you help update the status of the relevant JIRA?
Thanks.

@showuon
Copy link
Copy Markdown
Member

showuon commented Mar 5, 2022

JIRA status updated. Thanks for the contribution!

private def processRecordErrors(recordErrors: Seq[ApiRecordError]): Unit = {
if (recordErrors.nonEmpty) {
val errors = recordErrors.map(_.recordError)
if (recordErrors.exists(_.apiError == Errors.INVALID_TIMESTAMP)) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We do we no longer need this special case?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, looks like we need this, because we break 2 test cases after removing it. PR to bring it back to fix failed tests is opened: #11853 . Thanks.

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.

4 participants