Github user tdas commented on the pull request:
https://github.com/apache/spark/pull/4805#issuecomment-77988079
If checkpointing is not enabled, then we cannot restart on failure any
ways. So the system cannot provide any guarantee. Thats not the point of this
update. The point of this PR is to provide the ability to automatically pick up
offsets when started (not when restarted) if group.id is specified. Then, if
checkpoint is enabled and the context is restarted, it should use the offsets
in the checkpoint rather than the offset in ZK. This would give exactly-once
semantics under driver failures, as well as the ease of use by just specifying
ZK.
@koeninger What do you think about this?
---
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]