Re: Kafka - streaming from multiple topics

2015-12-21 Thread Cody Koeninger
; >>>> On Thu, Dec 17, 2015 at 11:43 AM, Cody Koeninger <c...@koeninger.org> >>>> wrote: >>>> >>>>> Using spark.streaming.concurrentJobs for this probably isn't a good >>>>> idea, as it allows the next batch to start processing befo

Re: Kafka - streaming from multiple topics

2015-12-21 Thread Neelesh
t;>> I might end up running 3 different streaming apps instead of one. >>>>> >>>>> Thanks again! >>>>> >>>>> On Thu, Dec 17, 2015 at 11:43 AM, Cody Koeninger <c...@koeninger.org> >>>>> wrote: >>>>> >>>

Re: Kafka - streaming from multiple topics

2015-12-21 Thread Cody Koeninger
gt;>>>> them >>>>>> would be really efficient, unless you know something that I don't. >>>>>> >>>>>> As I really don't need any interaction between those streams, I think

Re: Kafka - streaming from multiple topics

2015-12-20 Thread Chris Fregly
treams if you're e.g. joining them? >>>> >>>> >>>> >>>>> On Wed, Dec 16, 2015 at 3:00 PM, jpocalan <jpoca...@gmail.com> wrote: >>>>> Nevermind, I found the answer to my questions. >>>>&g

Re: Kafka - streaming from multiple topics

2015-12-20 Thread Neelesh
treams if you're e.g. joining them? >>>> >>>> >>>> >>>> On Wed, Dec 16, 2015 at 3:00 PM, jpocalan <jpoca...@gmail.com> wrote: >>>> >>>>> Nevermind, I found the answer to my questions. >>>>> The following

Re: Kafka - streaming from multiple topics

2015-12-19 Thread Neelesh
;> >>> >>> On Wed, Dec 16, 2015 at 3:00 PM, jpocalan <jpoca...@gmail.com> wrote: >>> >>>> Nevermind, I found the answer to my questions. >>>> The following spark configuration property will allow you to process >>>> multiple KafkaDirectSt

Re: Kafka - streaming from multiple topics

2015-12-17 Thread Cody Koeninger
ing.concurrentJobs= > > > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Kafka-streaming-from-multiple-topics-tp8678p25723.html > Sent from the Apache Spark

Re: Kafka - streaming from multiple topics

2015-12-17 Thread Jean-Pierre OCALAN
cess >> multiple KafkaDirectStream in parallel: >> --conf spark.streaming.concurrentJobs= >> >> >> >> >> >> -- >> View this message in context: >> http://apache-spark-user-list.1001560.n3.nabble.com/Kafka-stream

Re: Kafka - streaming from multiple topics

2015-12-17 Thread Cody Koeninger
e answer to my questions. >>> The following spark configuration property will allow you to process >>> multiple KafkaDirectStream in parallel: >>> --conf spark.streaming.concurrentJobs= >>> >>> >>> >>> >>> >>> -

Re: Kafka - streaming from multiple topics

2015-12-16 Thread jpocalan
-streaming-from-multiple-topics-tp8678p25723.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h

Re: Kafka - streaming from multiple topics

2015-12-03 Thread Cody Koeninger
offset range. >> >> On Wed, Dec 2, 2015 at 2:13 PM, dutrow <dan.dut...@gmail.com> wrote: >> >>> I found the JIRA ticket: >>> https://issues.apache.org/jira/browse/SPARK-2388 >>> >>> It was marked as invalid. >>> >>> >>

Re: Kafka - streaming from multiple topics

2015-12-03 Thread Dan Dutrow
M, dutrow <dan.dut...@gmail.com> wrote: > >> I found the JIRA ticket: https://issues.apache.org/jira/browse/SPARK-2388 >> >> It was marked as invalid. >> >> >> >> -- >> View this message in context: >> http://apache-spark-user-list.10015

Re: Kafka - streaming from multiple topics

2015-12-02 Thread Cody Koeninger
PARK-2388 > > It was marked as invalid. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Kafka-streaming-from-multiple-topics-tp8678p25550.html > Sent from the Apache Spark User Lis

Re: Kafka - streaming from multiple topics

2015-12-02 Thread dutrow
this issue? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Kafka-streaming-from-multiple-topics-tp8678p25549.html Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: Kafka - streaming from multiple topics

2015-12-02 Thread Dan Dutrow
sues.apache.org/jira/browse/SPARK-2388 >> >> It was marked as invalid. >> >> >> >> -- >> View this message in context: >> http://apache-spark-user-list.1001560.n3.nabble.com/Kafka-streaming-from-multiple-topics-tp8678p2555

Re: Kafka - streaming from multiple topics

2015-12-02 Thread dutrow
I found the JIRA ticket: https://issues.apache.org/jira/browse/SPARK-2388 It was marked as invalid. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Kafka-streaming-from-multiple-topics-tp8678p25550.html Sent from the Apache Spark User List mailing list

Re: Kafka - streaming from multiple topics

2014-08-13 Thread maddenpj
Can you link to the JIRA issue? I'm having to work around this bug and it would be nice to monitor the JIRA so I can change my code when it's fixed. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Kafka-streaming-from-multiple-topics-tp8678p12053.html Sent

Re: Kafka - streaming from multiple topics

2014-07-07 Thread Sergey Malov
: Thursday, July 3, 2014 at 9:41 PM To: user@spark.apache.orgmailto:user@spark.apache.org user@spark.apache.orgmailto:user@spark.apache.org Subject: Re: Kafka - streaming from multiple topics Sergey, On Fri, Jul 4, 2014 at 1:06 AM, Sergey Malov sma...@collective.commailto:sma...@collective.com

Re: Kafka - streaming from multiple topics

2014-07-03 Thread Sergey Malov
: Re: Kafka - streaming from multiple topics Sergey, you might actually consider using two streams, like val stream1 = KafkaUtils.createStream(ssc,localhost:2181,logs, Map(retarget - 2)) val stream2 = KafkaUtils.createStream(ssc,localhost:2181,logs, Map(datapair - 2)) to achieve what

Re: Kafka - streaming from multiple topics

2014-07-03 Thread Tobias Pfeiffer
Sergey, On Fri, Jul 4, 2014 at 1:06 AM, Sergey Malov sma...@collective.com wrote: On the other hand, under the hood KafkaInputDStream which is create with this KafkaUtils call, calls ConsumerConnector.createMessageStream which returns a Map[String, List[KafkaStream] keyed by topic. It is,

Kafka - streaming from multiple topics

2014-07-02 Thread Sergey Malov
HI, I would like to set up streaming from Kafka cluster, reading multiple topics and then processing each of the differently. So, I’d create a stream val stream = KafkaUtils.createStream(ssc,localhost:2181,logs, Map(retarget - 2,datapair - 2)) And then based on whether it’s “retarget”