You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jiwon Park (Jira)" <ji...@apache.org> on 2026/06/23 15:07:00 UTC

[jira] [Created] (KAFKA-20733) KafkaConsumerTest.fetchResponseWithUnexpectedPartitionIsIgnored passes for wrong reason with CONSUMER protocol

Jiwon Park created KAFKA-20733:
----------------------------------

             Summary: 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


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)