Re: Organize env using files
Posted by
Rafi Aroch on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Organize-env-using-files-tp27353p27416.html
Hi,
If it helps, we're using Lightbend's Config for that:
I have 3 different files for env: test, staging and production. Each of those has different parameters like: kafka host, endpoint urls, redis connection host…
I wonder if are there any better solution for accessing env anywhere in our jobs? I can be fine with having a class storing all the env values and if I can somehow spec the env as “prod” I can init the ProdEnv Class… I’m looking for any ideas here :)
Thank a bunch,
Andy,