[jira] [Created] (FLINK-11806) Import shaded jetcd

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-11806) Import shaded jetcd

Shang Yuanchun (Jira)
MalcolmSanders created FLINK-11806:
--------------------------------------

             Summary: Import shaded jetcd
                 Key: FLINK-11806
                 URL: https://issues.apache.org/jira/browse/FLINK-11806
             Project: Flink
          Issue Type: Task
          Components: Runtime / Coordination
            Reporter: MalcolmSanders
            Assignee: MalcolmSanders


Since etcd has already provided a Java client API named [jetcd|https://github.com/etcd-io/jetcd] to communicate with etcd server, we need to import the maven dependency for jetcd. Like flink's curator dependency, we should also make jetcd dependency shaded.

As I have discussed in the [design doc|https://docs.google.com/document/d/12-gIZDuT4IOWG7gmwSqNFsOHuGlkdRHge0ahJ7M311Y/edit#heading=h.d9ptqjeg282n], jetcd currently still lacks of high level APIs to achieve functionalities such as LeaderLatch, SharedCount and etc. I'm cooperating with contributors from jetcd community. Previously I've contributed a PR to enable setting namespaces [jetcd#504|https://github.com/etcd-io/jetcd/pull/504]. There are two issues needed to be completed:

(1) LeaderLatch API which is in discussion [ jetcd#516|https://github.com/etcd-io/jetcd/issues/516]
(2) Sequencer API to achieve SharedCount in curator which I'm working on [jetcd#473|https://github.com/etcd-io/jetcd/issues/473]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)