Spark Streaming already directly supports Kafka http://spark.apache.org/docs/latest/streaming-programming-guide.html#advanced-sources
Is there any reason why that is not sufficient? TD On Sun, Feb 22, 2015 at 5:18 PM, mykidong <mykid...@gmail.com> wrote: > In java, you can see this example: > https://github.com/mykidong/spark-kafka-simple-consumer-receiver > > - Kidong. > > ------ Original Message ------ > From: "icecreamlc [via Apache Spark User List]" <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=21758&i=0>> > To: "mykidong" <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=21758&i=1>> > Sent: 2015-02-21 오전 11:16:37 > Subject: Any sample code for Kafka consumer > > > Dear all, > > Do you have any sample code that consume data from Kafka server using > spark streaming? Thanks a lot!!! > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-spark-user-list.1001560.n3.nabble.com/Any-sample-code-for-Kafka-consumer-tp21746.html > To unsubscribe from Apache Spark User List, click here. > NAML > <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > ------------------------------ > View this message in context: Re: Any sample code for Kafka consumer > <http://apache-spark-user-list.1001560.n3.nabble.com/Any-sample-code-for-Kafka-consumer-tp21746p21758.html> > Sent from the Apache Spark User List mailing list archive > <http://apache-spark-user-list.1001560.n3.nabble.com/> at Nabble.com. >