You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Rahul Jain <ra...@gmail.com> on 2015/06/25 15:41:34 UTC

[Camel-Kafka] consumerStreams vs ConsumersCount

Hi,

Can someone explain the difference between consumerStreams and
ConsumersCount properties in the Kafka adapter?

Thanks,
Rahul

Re: [Camel-Kafka] consumerStreams vs ConsumersCount

Posted by kgdinesh <di...@gmail.com>.
Hi,

I have a single topic with 8 partitions and my consumer app has to process
all the events as fast as possible.

Which among the following is the best configuration for this scenario?

1. ConsumerCount: 1 and ConsumerStreams: 8
2. ConsumerCount: 8 and ConsumerStreams: 1

Regards,
Dinesh Babu K.G



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Kafka-consumerStreams-vs-ConsumersCount-tp5768581p5778519.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [Camel-Kafka] consumerStreams vs ConsumersCount

Posted by vasilievip <va...@gmail.com>.
ConsumersCount is amount of kafka.consumer.Consumer instances.
consumerStreams is amount of kafka.consumer.KafkaStream instances.

https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example
http://ingest.tips/2014/10/12/kafka-high-level-consumer-frequently-missing-pieces/



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Kafka-consumerStreams-vs-ConsumersCount-tp5768581p5768602.html
Sent from the Camel - Users mailing list archive at Nabble.com.