Re: externalizing config flies for flink class loader

2019-09-12 Thread Vijay Bhaskar
Sorry there is a typo, corrected it: val pmtool = ParameterTool.fromArgs(args) val defaultConfig = ConfigFactory.load() //Default config in reference.conf/application.conf/system properties/env of typesafe val overrideConfigFromArgs = ConfigFactory.load(pmtool.toMap) val finalConfig = overrideCo

Re: externalizing config flies for flink class loader

2019-09-12 Thread Vijay Bhaskar
Hi You can use this way: Use typesafe configuration, which provides excellent configuration methodologies. You supply default configuration, which is read by your application through reference.conf file of typesafe. If you want to override any of the defaults you can supply to command line argument