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)

Reply via email to