Github user zsxwing commented on the issue:
https://github.com/apache/spark/pull/14553
> Added a lastCommittedOffset method to allow the scheduler to query the
status of each Source on restart. This addition is not strictly necessary, but
it seemed like a good idea -- Sources will be maintaining their own persistent
state, and there may be bugs in the checkpointing code.
I'm not sure if we add this API. This one forces Source should store
`lastCommittedOffset` in some reliable storage, otherwise, Source will always
return None when recovering from failure.
I suggest we add it later when we really need to use this API.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]