You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "hudi-bot (via GitHub)" <gi...@apache.org> on 2025/11/30 09:45:41 UTC
[I] Add ability to reset the checkpoint for kafka source [hudi]
hudi-bot opened a new issue, #16406:
URL: https://github.com/apache/hudi/issues/16406
Add ability to reset the checkpoint for kafka source. The use case is that, say we switch the kafka cluster or topic name, or may be we want to re-ingest some messages and restart from earliest offset, we may not have a specific offset to reset to. With this change, we can just reset the checkpoint to a new kafka cluster (and/or topic name) or the same kafka cluster/topic and just pick up from earliest or latest offset without knowledge of exact kafka offset.
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-7517
- Type: Improvement
--
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: commits-unsubscribe@hudi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add ability to reset the checkpoint for kafka source [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on issue #16406:
URL: https://github.com/apache/hudi/issues/16406#issuecomment-4795600300
This appears to be addressed by [HUDI-7618](https://issues.apache.org/jira/browse/HUDI-7618) / [PR #11018](https://github.com/apache/hudi/pull/11018) (commit `82c3209f64dd`), which added a `--ignore-checkpoint` flag to Hoodie Streamer.
Usage: pass `--ignore-checkpoint <unique-value>` (e.g., a timestamp or UUID). On the next sync, Streamer ignores the last committed source checkpoint and falls back to the source's own start-position config (for Kafka, `auto.offset.reset` -> `earliest`/`latest`). The unique value is persisted in commit metadata under `deltastreamer.checkpoint.ignore_key`, so re-running with the same value is a no-op — set a new value each time you want to reset again. The PR description explicitly calls out the kafka topic-switch scenario this issue describes.
See `HoodieStreamer.java` (`--ignore-checkpoint` parameter) and `StreamSync.getCheckpointToResume` for the implementation. Closing as resolved — please reopen if a different reset semantic (e.g., kafka-source-specific, without going through Streamer) is needed.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add ability to reset the checkpoint for kafka source [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on issue #16406:
URL: https://github.com/apache/hudi/issues/16406#issuecomment-3630128984
### Linked PR(s)
- https://github.com/apache/hudi/pull/10890
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add ability to reset the checkpoint for kafka source [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan closed issue #16406: Add ability to reset the checkpoint for kafka source
URL: https://github.com/apache/hudi/issues/16406
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org