How to assign partitions to your consumers?
Introduction to Kafka assignors
Integrating with Kafka usually starts with subscribing your consumers to Kafka with default configuration and it just works. However, after working a while with Kafka you will encounter various "weird" behaviors originating from rebalancing settings such as chosen assignor implementation. Let's see how different assignors work and what are their pros and cons.