huawei-noah / streamDM

Stream Data Mining Library for Spark Streaming
http://streamdm.noahlab.com.hk/
Apache License 2.0
492 stars 147 forks source link

add direct kafka Reader #54

Closed benbenqiang closed 8 years ago

benbenqiang commented 8 years ago

read data from kafka using direct api

JianfengQian commented 8 years ago

Thanks for your contribution. Could you add the copyright and parameter options for it? Or I can add it. You can take a look of file: https://github.com/huawei-noah/streamDM/blob/master/src/main/scala/org/apache/spark/streamdm/streams/TextStreamReader.scala

benbenqiang commented 8 years ago

Is this OK? @JianfengQian

JianfengQian commented 8 years ago

Qiang, Thanks for your contribution!