You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by StephanEwen <gi...@git.apache.org> on 2018/02/20 09:39:41 UTC

[GitHub] flink issue #5530: [FLINK-8660] Enable the user to provide custom HAServices...

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


---