[
https://issues.apache.org/jira/browse/KAFKA-15606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirk True updated KAFKA-15606:
------------------------------
Description:
As part of the review for [pull request
#14406|[https://github.com/apache/kafka/pull/14406]], [~junrao] made these
comments on the {{FetcherTest.testCompletedFetchRemoval()}} test:
{quote}Hmm, why don't we return records from other partitions since maxRecords
is maxInt?
{quote}
and:
{quote}Is [the check for the {{fetchedRecord}} size of 3] redundant given the
test [two lines above]?
{quote}
was:
As part of the review for #14406, [~junrao] made these comments on the
FetcherTest.testCompletedFetchRemoval() test:
{quote}Hmm, why don't we return records from other partitions since maxRecords
is maxInt?
{quote}
and:
{quote}Is [the check for the `fetchedRecord` size of 3] redundant given the
test [two lines above]?
{quote}
> Verify & refactor correctness of FetcherTest.testCompletedFetchRemoval()
> ------------------------------------------------------------------------
>
> Key: KAFKA-15606
> URL: https://issues.apache.org/jira/browse/KAFKA-15606
> Project: Kafka
> Issue Type: Improvement
> Components: clients, consumer
> Reporter: Kirk True
> Assignee: Kirk True
> Priority: Major
>
> As part of the review for [pull request
> #14406|[https://github.com/apache/kafka/pull/14406]], [~junrao] made these
> comments on the {{FetcherTest.testCompletedFetchRemoval()}} test:
> {quote}Hmm, why don't we return records from other partitions since
> maxRecords is maxInt?
> {quote}
> and:
> {quote}Is [the check for the {{fetchedRecord}} size of 3] redundant given the
> test [two lines above]?
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)