code: public static Config getDynamicConfig(Config config) {
      // load dynamic configuration and add them to the job properties
      DynamicConfigGenerator dynamicConfigGenerator =
          DynamicConfigGeneratorFactory.createDynamicConfigGenerator(config);
      Config dynamicConfig = dynamicConfigGenerator.generateDynamicConfig(config);
  
      return dynamicConfig;
    }
docs: Get the dynamic config from a {@link DynamicConfigGenerator}
  @param config input config
  @return  the dynamic config