[
https://issues.apache.org/jira/browse/KAFKA-16792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850215#comment-17850215
]
Kirk True edited comment on KAFKA-16792 at 6/3/24 9:09 PM:
-----------------------------------------------------------
The following don't work for reasons other than the timeout:
- testCurrentLag: this is expecting {{poll()}} to call the {{LIST_OFFSETS}}
RPC. The new consumer doesn't do this, but instead sends {{FETCH_OFFSETS}}
- testFetchStableOffsetThrowInPoll
- testListOffsetShouldUpdateSubscriptions: this is expecting {{poll()}} to
call the {{LIST_OFFSETS}} RPC. The new consumer doesn't do this, but instead
sends {{FETCH_OFFSETS}}
- testPollReturnsRecords: uses the {{CLASSIC}} rebalance RPCs
was (Author: kirktrue):
These tests work with KAFKA-16200:
- testResetUsingAutoResetPolicy
- testFetchStableOffsetThrowInCommitted (wasn't in the above list)
The following still don't work:
- testCurrentLag: this is expecting {{poll()}} to call the {{LIST_OFFSETS}}
RPC. The new consumer doesn't do this, but instead sends {{FETCH_OFFSETS}}
- testFetchStableOffsetThrowInPoll
- testListOffsetShouldUpdateSubscriptions: this is expecting {{poll()}} to
call the {{LIST_OFFSETS}} RPC. The new consumer doesn't do this, but instead
sends {{FETCH_OFFSETS}}
- testPollReturnsRecords: uses the {{CLASSIC}} rebalance RPCs
- testResetToCommittedOffset
> Enable consumer unit tests that fail to fetch offsets only for new consumer
> with poll(0)
> ----------------------------------------------------------------------------------------
>
> Key: KAFKA-16792
> URL: https://issues.apache.org/jira/browse/KAFKA-16792
> Project: Kafka
> Issue Type: Sub-task
> Components: clients, consumer
> Reporter: Lianet Magrans
> Assignee: Kirk True
> Priority: Blocker
> Labels: kip-848-client-support
> Fix For: 3.8.0
>
>
> Enable the following unit tests for the new async consumer in
> KafkaConsumerTest:
> - testFetchStableOffsetThrowInPoll
> - testCurrentLag
> - testListOffsetShouldUpdateSubscriptions
> - testResetToCommittedOffset
> - testResetUsingAutoResetPolicy
> - testPollReturnsRecords
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)