简体   繁体   中英

kafka_2.11-0.8.2.1 Consumer Rebalancing

I have a topic with 50 partitions. I have a single consumer project which has 50 threads processing 50 message streams. As of now , the project is running in only one node. I am using high level consumer. Can the same project be deployed in more than 1 node to achieve re balancing? Are there any issues that I need to be wary of?

Can the same project be deployed in more than 1 node to achieve re balancing?

Yes, You can deploy consumer to more than one node to read from the topic.

Are there any issues that I need to be wary of? Even before going to multiple node you can create multiple consumer on same node to test the re balancing to see what type of issues comes up in configuration. Other than this, you should think about the re balance if one or more node done dies and then other nodes should take care of that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM