We are working on how to do dynamic scaling of flink tasks. The task is about to read streaming in kafka topic and do ... then sink to another kafka topic. We know that the flink job must be stopped first to modify the parallelism, which is not what we want.
Since we cant dynamic add resource to tasks without stopping flink jobs, can we duplicate the flink jobs (which consumes through same groupid from the kafka topic) to increase the performance? Besides, is it possible to use yarn or kubernetes to manage those jobs and achieve a pseudo-dynamic scaling for such a flink task(with kafka)?