Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13370

Allow Custom CuratorFramework

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • Runtime / Coordination
    • None

    Description

      Due to how the CuratorFrameworkFactory is implemented in Flink, I am unable to use it with my existing Zookeeper clusters which rely on custom authentication.

      To allow for this situation, I propose making the following changes to allow users to pass in custom factory methods (in a similar vein to FLINK-8660).

      • Create FlinkCuratorFactory interface
      • Move the current CuratorFramework factory method into a Factory class that implements the FlinkCuratorFactory interface
      • Add new config zookeeper.curator.factory that defaults to the current implementation or takes the FQN of a user defined factory
      • Replace the existing CuratorFramework factory method to uses the zookeeper.curator.factory config to call the appropriate factory.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matt.lloyd Matt Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: