Re: Sending events to Kafka from spark job

2016-03-30 Thread أنس الليثي
ay, March 29, 2016 at 4:26 AM > To: "user @spark" > Subject: Re: Sending events to Kafka from spark job > > I think I find a solution but I have no idea how this affects the execution > of the application. > > At the end of the script I added a sleep statement. > > impo

Re: Sending events to Kafka from spark job

2016-03-29 Thread Andy Davidson
actually publishes the Kafka If you are using RDD¹s you could use map() or some other transform to cause the data to be published Andy From: fanooos Date: Tuesday, March 29, 2016 at 4:26 AM To: "user @spark" Subject: Re: Sending events to Kafka from spark job > I think I find a s

Re: Sending events to Kafka from spark job

2016-03-29 Thread fanooos
I think I find a solution but I have no idea how this affects the execution of the application. At the end of the script I added a sleep statement. import time time.sleep(1) This solved the problem. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Sendi