Re: Consuming a Kafka topic with multiple partitions from Flink
Posted by
Tony Wei on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Consuming-a-Kafka-topic-with-multiple-partitions-from-Flink-tp15215p15217.html
Hi
Isuru,
That means your partitions should have increasing id one by one, then each subtask would be assigned equally.
If your partition ids are 0, 3, 6, then only one subtask was assigned with parallelism set to 3.
In my case, I created a new topic with two partitions which id are 0 and 1, and my consumer with 2 subtasks were assigned fairly with one to one mapping.
You can check your topic's setup or create another topic to try this out.
Hope this will help you.
Best Regards,
Tony Wei