Initial support for getting the leader from Zookeeper.
Some tests included for making sure the JSON blob pulled from Zookeeper is correct. Updated client to be able to take Zookeeper json cluster config that is currently being used in aurora (clusters.json usually located at /etc/aurora/cluster.json). Changed error messages to no longer have a period at the end as that was throwing off printing of the error. Modified samuel's ZK library slightly to stop verbose logging using a NoOpLogger from stackoverflow.
This commit is contained in:
parent
c62e5ab750
commit
0e26c33129
35 changed files with 4437 additions and 51 deletions
|
@ -14,9 +14,8 @@ library has been tested. Vendoring a working version of this library is highly r
|
|||
* [Leveraging the library](docs/leveraging-the-library.md)
|
||||
|
||||
## To Do
|
||||
* Allow library to use ZK to find the master
|
||||
* Create or import a custom transport that uses https://github.com/jmcvetta/napping to improve efficiency
|
||||
* End to end testing with Vagrant setup
|
||||
|
||||
## Contributions
|
||||
Contributions are very much welcome. Please raise an issue so that the contribution may be discussed before it's made.
|
||||
Contributions are very much welcome. Please raise an issue so that the contribution may be discussed before it's made.
|
Loading…
Add table
Add a link
Reference in a new issue