GitHub user jerryshao opened a pull request:
https://github.com/apache/spark/pull/14340
[SPARK-16534][Streaming][Kafka] Add Python API support for Kafka 0.10
connector
## What changes were proposed in this pull request?
This PR adds the support of Python API for Spark Streaming Kafka 0.10
connector.
1. Provides equal functionality for Python API.
2. Adds unit test to test different location strategies and consumer
strategies for python API.
3. Adds a example `kafka010_direct_wordcount.py`.
## How was this patch tested?
Adds the unit tests to cover different APIs. Also did integrated tests in
real cluster.
CC @tdas @koeninger please help to review, thanks a lot.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jerryshao/apache-spark SPARK-16534
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14340.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 #14340
----
commit 569fa9e8089f410f7aea476232b697c299a235ae
Author: jerryshao <[email protected]>
Date: 2016-07-20T07:42:20Z
Add python support for Spark Streaming Kafka 0.10 connector
commit dcca3371da0c73bbcadb4331a2869e0303bd8ae8
Author: jerryshao <[email protected]>
Date: 2016-07-25T02:20:48Z
And unit test for Python Kafka 0.10
----
---
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]