garyli1019 commented on issue #1362: HUDI-644 Enable user to get checkpoint from previous commits in DeltaStreamer URL: https://github.com/apache/incubator-hudi/pull/1362#issuecomment-596729630 @vinothchandar @pratyakshsharma Agree that running non-delta streamer commit to fix the data gap sounds a bit hacky. I think I can get the checkpoint from previous commit myself and pass it to the delta streamer as the `checkpoint` would serve the same purpose of this PR. The ideal migration process for my use case would be: - Do the initial bulk inset from reading DFS parquet source managed by Kafka-connect, the naming convention of the parquet files: `topicname+partition1+offsetLowerbound+offsetUpperbound.parquet` - Generate the delta streamer checkpoint from those parquet files: `{partition1: offsetUpperbound, ...}` - Start the delta streamer from the checkpoint I think the tool to generate the checkpoint for the user would make the migration seamless. Will look into how to implement this. Thanks for the hint on the Kafka API :) One edge case would stop me using it is that a kafka-connector stuck for one partition and other partitions are fine, if I pick a timestamp not earlier than the stuck partition, then I might lose some messages there. Once I figure out the `offsetGenerator` tool I will update this PR.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
