Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> one producer and 2 consumers


+
Oleg Ruchovets 2013-04-21, 07:37
Copy link to this message
-
Re: one producer and 2 consumers
Read the design doc on the Kafka site.

The short answer is to use two partitions for your topic.

Philip

On Apr 21, 2013, at 12:37 AM, Oleg Ruchovets <[EMAIL PROTECTED]> wrote:

> Hi,
>   I have one producer for kafka and have 2 consumers.
> I want to consume produced events to hdfs and storm. Copy to hdfs I will do
> every hour but to storm every 10 seconds.
>
> Question: Is it supported by kafka? Where can I read how to organize 1
> producer and 2 consumers?
>
> Thanks
> Oleg.

 
+
Oleg Ruchovets 2013-04-21, 15:54
+
Philip OToole 2013-04-21, 16:01
+
Oleg Ruchovets 2013-04-21, 16:16
+
Philip OToole 2013-04-21, 16:22
+
Oleg Ruchovets 2013-04-26, 15:20
+
Jun Rao 2013-04-26, 15:28
+
Chris Curtin 2013-04-26, 15:35
+
Oleg Ruchovets 2013-04-26, 16:22
+
Chris Curtin 2013-04-26, 16:32
+
Oleg Ruchovets 2013-04-26, 16:32
+
Chris Curtin 2013-04-26, 16:55