GitHub user koeninger opened a pull request: https://github.com/apache/spark/pull/15401
[SPARK-17782][STREAMING][KAFKA] alternative eliminate race condition of poll twice ## What changes were proposed in this pull request? Alternative approach to https://github.com/apache/spark/pull/15387 You can merge this pull request into a Git repository by running: $ git pull https://github.com/koeninger/spark-1 SPARK-17782-alt Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/15401.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #15401 ---- commit 1fc5863db88cac9dfd0be09318c4ca8779a51682 Author: cody koeninger <c...@koeninger.org> Date: 2016-10-07T01:08:01Z [SPARK-17782][STREAMING][KAFKA] eliminate race condition of poll being called twice and moving position commit aca55de0624f5634acb04f91636dce79af875fab Author: cody koeninger <c...@koeninger.org> Date: 2016-10-07T01:20:43Z [SPARK-17782][STREAMING][KAFKA] whitespace fix commit 143bf12ba2f3826c982a5f6e83a8986ddaea0b93 Author: cody koeninger <c...@koeninger.org> Date: 2016-10-08T02:55:44Z [SPARK-17782][STREAMING][KAFKA] alternative to fixing poll(0) returning messages ---- --- 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 with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org