Hi

While working on a RichFilterFunction implementation I was wondering, if
there is a much better way to access configuration
options read from file during startup. Actually, I am
using getRuntimeContext().getExecutionConfig().getGlobalJobParameters()
to get access to my settings.

Reason for that is, that the Configuration parameter provided to the open
function does not carry my settings. That is probably
the case as I
use this.executionEnvironment.getConfig().setGlobalJobParameters(cfg) to
pass my configuration into the environment
which in turn is not passed on as part of the open call - I found no other
way to handle configuration ;-)

My question is: who is responsible for calling the open function, where
does the configuration parameter has its origins aka where
is its content taken from and is it possible to define somewhere in the
main program which configuration to pass into a specific operator?

Best
  Christian

Reply via email to