[ https://issues.apache.org/jira/browse/KAFKA-7187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16590392#comment-16590392 ]
ASF GitHub Bot commented on KAFKA-7187: --------------------------------------- nucatus opened a new pull request #5560: KAFKA-7187 MockConsumer can fetch offsets based on timestamps URL: https://github.com/apache/kafka/pull/5560 Add implementation for the MockConsumer, previously unexisting, for fetching offsets based on provided timestamps. The unit test case was improved to include the testing of the fetching offsets based on timestamps. ### Committer Checklist (excluded from commit message) - [ x ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ x ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > offsetsForTimes in MockConsumer implementation > ---------------------------------------------- > > Key: KAFKA-7187 > URL: https://issues.apache.org/jira/browse/KAFKA-7187 > Project: Kafka > Issue Type: Improvement > Components: clients > Reporter: Jing Chen > Priority: Minor > > The implementation for offsetsForTimes in MockConsumer is missing, it simply > throws UnsupportedOperationException, can anyone help to provide the > implementation of the method? -- This message was sent by Atlassian JIRA (v7.6.3#76005)