Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Implementing divolteStream usign DirectStream API #1

Open
fnozarian opened this issue Aug 27, 2016 · 1 comment
Open

Implementing divolteStream usign DirectStream API #1

fnozarian opened this issue Aug 27, 2016 · 1 comment

Comments

@fnozarian
Copy link

fnozarian commented Aug 27, 2016

Hello.
I noticed that the divolteStream uses createStream method of KafkaUtils to establish a stream, however since Spark 1.3 it is recomended to use DirectStream API (createDirectStream) to read data from Kafka. Do you have any plan to re-implement divolteStream using this API?

@asnare
Copy link
Member

asnare commented Sep 6, 2016

These examples really need a good polish: although the general strategies are roughly right, the implementation details have changed significantly. In particular, the Spark project has evolved considerably since the examples were written:

I'm currently planning some work on improving the way Kafka is supported and hope to revisit the examples after that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants