Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/5530
I think this is a nice approach.
I would suggest to not split the config options between `high-availability`
and factory that is only used in *CUSTOM* mode, but use the `high-availability`
option for both. The option describes the high availability services factory,
with *NONE* and *ZOOKEEPER* as special constants/shortcuts.
Have a look at the `StateBackendLoader` class for an example of that.
https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/state/StateBackendLoader.java#L92
---