Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

i have to read streaming json data to kafka.Data which is read by kafka has to give spark.how make link between spark and kafka.i would like to use sparkR to coonect kafka foer streaming anaylsis..

i have to read streaming json data to kafka.Data which is read by kafka has to give spark.how make link between spark and kafka.i would like to use sparkR to coonect kafka foer streaming anaylsis..

New Contributor
 
1 REPLY 1

Re: i have to read streaming json data to kafka.Data which is read by kafka has to give spark.how make link between spark and kafka.i would like to use sparkR to coonect kafka foer streaming anaylsis..

Super Guru
@midhun xavier

Have you looked at Spark Streaming and Kafka Integration guide? It's all documented and pretty simple to implement

https://spark.apache.org/docs/2.1.0/streaming-kafka-0-10-integration.html

And SparkR is a R library to call Spark from your R code. That would be different than streaming analysis and reading data from Kafka.