wangxianghu opened a new pull request, #19658: URL: https://github.com/apache/hudi/pull/19658
### Describe the issue this Pull Request addresses When a user consumes Kafka data using HoodieStreamer and specifies a timestamp format checkpoint, the `org.apache.hudi.utilities.sources.helpers.KafkaOffsetGen#getOffsetsByTimestamp` method incorrectly uses the oldest offset as the starting point when there is no data after the specified timestamp. The latest offset should be used. ### Summary and Changelog Use endOffsets as start position when there is no message after checkpoint timestamp ### Impact Use endOffsets as start position when there is no message after checkpoint timestamp ### Risk Level None ### Documentation Update None ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Enough context is provided in the sections above - [ ] Adequate tests were added if applicable -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
