[ 
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 two comments 
on the {{FetcherTest.testCompletedFetchRemoval()}} test:

{quote}
Is [the check for the records size of 3] redundant given the test [two lines 
above]?[1]
{quote}

And also:

{quote}
Hmm, why don't we return records from other partitions since maxRecords is 
maxInt?[2]
{quote}

References:

* [1] https://github.com/apache/kafka/pull/14406#discussion_r1347908197
* [2] https://github.com/apache/kafka/pull/14406#discussion_r1347910980

  was:
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 records 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 two 
> comments on the {{FetcherTest.testCompletedFetchRemoval()}} test:
> {quote}
> Is [the check for the records size of 3] redundant given the test [two lines 
> above]?[1]
> {quote}
> And also:
> {quote}
> Hmm, why don't we return records from other partitions since maxRecords is 
> maxInt?[2]
> {quote}
> References:
> * [1] https://github.com/apache/kafka/pull/14406#discussion_r1347908197
> * [2] https://github.com/apache/kafka/pull/14406#discussion_r1347910980



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to