In Flink, operators like 'flatMap', 'map' and such are called Task, if I set parallelism of flatMap to 30, then this Task has 30 SubTasks.
Now, if I have only 1 slot, will it result in multiple threads in one slot? Or still only one thread per slot?
Will Flink simply create 30 threads in that slot, or it uses something like thread pool?
EDIT:
Above is not an appropriate example.
Let's say in the Job I have operator flatMap and map, they both have parallelism 1, and I have only one slot, will this slot has 2 threads created? (chaining disabled)