'flink task manager how to pre init few settings

I need to download Keystore and use it while creating the source connector, currently, I am overriding open method but this gets called for each of my source connectors.

 @Override
    public void open(Configuration configuration) throws Exception {

  // do few things like download Keystore to default path etc 
 super.open(configuration)
}

Is there an option to init a few pre stuff as soon as the task manager came up?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source