I have two different tasks in my flink job Task1 & Task2. T1 needs 10 Parrelisms and T2 needs 2 parrallism, my cluster has two Taskmanager(TM) and each of my task managers have 8 slots. Task1 runs with default task groups and for Task 2 I m setting separate slot-sharing group
Since I had requirements to distribute my talks sots across TM evenly, I added a cluster. evenly-spread-out-slots: true and deploy my application but evenly distributed is not working. Task manager 1 runs 8 (2 from Task2 and 6 from Task1) and Taskmanager 2 runs 4.
My requirement is each task manager should run 6 (5 for Task1 and 1 for Task2)
FOr testing, whether evenly-spread-out-slots: true work runs or not I commented out Task1 and submitted Task2, with this I can see Task2 runs on both TM1 and TM2 with 1 slot each.
Is there any setting to make sure evenly distributions happen for both the task groups?