Re: Use a single consumer or create consumer per topic

2020-02-26 Thread Mark Zang
have a bunch of consumer groups, one per topic, > so they can rebalance independently. > > On Wed, Feb 26, 2020, 1:05 AM Mark Zang wrote: > > > Hi, > > > > I have a 20 brokers kafka cluster and there are about 50 topics to > consume. > > > > Between creatin

Use a single consumer or create consumer per topic

2020-02-25 Thread Mark Zang
Hi, I have a 20 brokers kafka cluster and there are about 50 topics to consume. Between creating a consumer for each topic and creating a consumer for all 50 topics, what is the pros and cons? What would be the suggested way if I enable auto commit for each 10 seconds? Kafka client version is 0

Which version works for kafka 0.8.2 as consumer?

2015-04-01 Thread Mark Zang
I found the 0.8.2.0 and 0.8.2.1 has a KafkaConsumer. But this class seems not completed and not functional. Lots of method returns null or throws NSM. Which version of consumer for kafka 0.8.2 broker? Thanks! -- Best regards! Mike Zang