One service discovery backend to rule them all. The idea behind this was to seamlessly use tools and frameworks that heavily rely on zookeeper, for example, finagle, kafka, and keep/support/maintain just one key-value store. This could facilitate the migration to the nextgen service discovery/distributed configuration services like etcd or consul.
One of these two backends are available:
Unsupported ZooKeeper features (ordered by priority):
Listing of supported requests with some notes:
| etcd | consul | |
|---|---|---|
| CREATE | :white_check_mark: 1 | :white_check_mark: |
| DELETE | :white_check_mark: | :white_check_mark: |
| EXISTS | :white_check_mark: | :white_check_mark: |
| GETDATA | :white_check_mark: | :white_check_mark: |
| SETDATA | :white_check_mark: | :white_check_mark: |
| GETACL | :construction: | :construction: |
| SETACL | :construction: | :construction: |
| GETCHILDREN | :white_check_mark: | :white_check_mark: |
| SYNC | :white_check_mark: <sup23 | :white_check_mark: 2 |
| PING | :white_check_mark: | :white_check_mark: |
| GETCHILDREN2 | :white_check_mark: | :white_check_mark: |
| CHECK | :white_check_mark: | :white_check_mark: |
| MULTI | :construction: | :construction: |
| CREATE2 | :white_check_mark:1 | :white_check_mark: |
| CLOSE | :white_check_mark: | :white_check_mark: |
| SETAUTH | :construction: | :construction: |
| SETWATCHES | :construction: | :construction: |
1 Unable to create a node with a key/path equal to an existing directory. (etcd will support this in v3 api: #1855)
2 There is no similar etcd/consul request. For now, it does not proceed.
Using parkeeper is as easy as this:
docker run -p 2181:2181 quay.io/glerchundi/parkeeper -backend-url etcd://127.0.0.1:4001
docker run -p 2181:2181 quay.io/glerchundi/parkeeper -backend-url consul://127.0.0.1:8500
This project is in its early stages, use at your own risk. And of course, any feedback is appreciated as well as issues!
Content type
Image
Digest
sha256:b569c3254…
Size
4.3 MB
Last updated
almost 11 years ago
docker pull glerchundi/parkeeper