Github user koeninger commented on the issue:
This is pretty much the fundamental issue. Kafka offsets alone aren't
capable of meeting the SQL Offset interface as defined. I think that means
the Offset interface needs to be reconsidered or eliminated. I think that
work needs to be done now, before even more work gets put into a
fundamentally unworkable interface. I don't see what the rush is, because
this isn't going to make it into 2.0.1 anyway.
On Thu, Sep 22, 2016 at 12:29 PM, Shixiong Zhu <notificati...@github.com>
> PR with failing test indicating at least one reason why it's wrong from an
> end-user perspective:
> @koeninger <https://github.com/koeninger> Thanks for writing the test.
> Yes, we are aware of this issue. However, it's unlikely that we can
> deleting topics using the current Source API. You can take a look at how
> StreamExecution checks the new data here: https://github.com/apache/
> Using the hash code to compare offsets has a potential issue, it may make
> the latest offset be smaller than the old offset, then StreamExecution
> won't process the new data.
> I think one possible solution is StreamExecution doesn't compare the
> offsets, instead, it just assumes getOffset will always return the latest
> offset, and it never rollback to an old offset. This needs more discussion
> anyway. Hence I suggest we don't block this PR for this. Deleting topics
> can be supported in a later PR when we make an agreement on how to resolve
> the issue.
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/spark/pull/15102#issuecomment-248971360>, or
> the thread
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 infrastruct...@apache.org or file a JIRA ticket
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org