RocketMQ integration for Apache Flink. This module includes the RocketMQ source and sink that allows a flink job to either write messages into a topic or read from topics in a flink job.
In current consistent hash allocate strategy, we will get unbalanced assignment caused by hash collision.
For example, we have a topic named TopicTest, the topic allocate at 3 brokers: broker0, broker1, broker2, 10 queues per broker, and we have 32 task managers. The allocation result using the ConsistentHashAllocateStrategy as follows:
In current consistent hash allocate strategy, we will get unbalanced assignment caused by hash collision. For example, we have a topic named TopicTest, the topic allocate at 3 brokers: broker0, broker1, broker2, 10 queues per broker, and we have 32 task managers. The allocation result using the ConsistentHashAllocateStrategy as follows:
We have 32 task manager, but only 12 task manager can work normally, which means we have 20 wasted task manager.
We should resolve the hash collision, I'm glad for your suggestion.