Github user mbalassi commented on the pull request:
https://github.com/apache/flink/pull/659#issuecomment-99984916
@aljoscha I think we have two options:
* Those sources with return constant false in reachedEnd() and killed
externally when the user desires to do so.
* They do data-driven close, where the next() can set reachedEnd() true
upon a trigger.
Storm has an interface similar to this and seems to work. :) Task killing
is quite graceful there however, we need to be more careful there then.
---
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.
---