You will have to create a separate config for each TaskManager.

On 01.12.2017 23:14, Hao Sun wrote:
Hi team, I am wondering how can I create a non-shared config file and let Flink read it. Can I use include in the config? Or I have to prepare a different config for each TM?

https://ci.apache.org/projects/flink/flink-docs-release-1.3/setup/config.html

 *

    |taskmanager.hostname|: The hostname of the network interface that
    the TaskManager binds to. By default, the TaskManager searches for
    network interfaces that can connect to the JobManager and other
    TaskManagers. This option can be used to define a hostname if that
    strategy fails for some reason. Because different TaskManagers
    need different values for this option, it usually is specified in
    an additional non-shared TaskManager-specific config file.



Reply via email to