[
https://issues.apache.org/jira/browse/KAFKA-20733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lianet Magrans resolved KAFKA-20733.
------------------------------------
Resolution: Fixed
> KafkaConsumerTest.fetchResponseWithUnexpectedPartitionIsIgnored passes for
> wrong reason with CONSUMER protocol
> --------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-20733
> URL: https://issues.apache.org/jira/browse/KAFKA-20733
> Project: Kafka
> Issue Type: Test
> Components: clients, consumer
> Reporter: Jiwon Park
> Assignee: Jiwon Park
> Priority: Minor
> Fix For: 4.4.0
>
>
> KafkaConsumerTest.fetchResponseWithUnexpectedPartitionIsIgnored is annotated
> with @EnumSource(GroupProtocol.class), but the CONSUMER protocol case passes
> for the wrong reason:
> rebalancing via ConsumerGroupHeartbeat is never set up, so assignment never
> completes and 0 records are returned not because FetchSessionHandler
> correctly rejects the response.
>
>
> FetchRequestManagerTest has no test covering this behavior for the CONSUMER
> protocol.
> (KAFKA-20527, which covers related cleanup work in KafkaConsumerTest.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)