Re: Writing multiple streams to multiple kafka

2016-03-31 Thread Deepak Jha
It works... Thanks On Thu, Mar 31, 2016 at 2:23 AM, Aljoscha Krettek wrote: > Hi, > yes you can output the stages to several different Kafka Topics. If you > don't want to call addSink inside the run() method you somehow have to > return the handle to your stage3 DataStream, for example: > > pri

Re: Writing multiple streams to multiple kafka

2016-03-31 Thread Aljoscha Krettek
Hi, yes you can output the stages to several different Kafka Topics. If you don't want to call addSink inside the run() method you somehow have to return the handle to your stage3 DataStream, for example: private val env = StreamExecutionEnvironment.getExecutionEnvironment private val src = env.ad