GitHub user cluo512 opened a pull request:
https://github.com/apache/spark/pull/21717
[SPARK-24743] [Examples]Update the JavaDirectKafkaWordCount example to
support the new API of kafka
## What changes were proposed in this pull request?
Add some required configs for Kafka consumer in JavaDirectKafkaWordCount
class.
## How was this patch tested?
Manual tests on Local mode.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cluo512/spark
SPARK-24743-update-JavaDirectKafkaWordCount
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21717.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 #21717
----
commit 72ffc9259db3285960898a4f6b8444c1c8dddcf1
Author: cluo <0512lc@...>
Date: 2018-07-05T08:30:31Z
Update the JavaDirectKafkaWordCount example to support the new API of Kafka
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]