Github user rmetzger commented on the pull request:
https://github.com/apache/flink/pull/664#issuecomment-100805130
In Hadoop, the `UserConfig` would probably be a `Configuration` object with
key/value pairs.
In Flink, we are trying to get rid of these untyped maps.
Instead, I would recommend users to use a simple java class, like
```java
public static class MyConfig extends UserConfig {
public long someLongValue;
public int someInt;
// this is optional
public Map<String, String> toMap() { return null; }
}
```
It can be used in a similar way to a Configuration object, but the compiler
is able to check the types.
The `ParameterUtil` is implementing the UserConfig interface to expose the
configuration values through the Flink program & in the web interface.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---