-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run without ZooKeeper #123
Comments
This is actually already supported by using a |
thanks @jonhoo is there any documentation on how to use this Ideally, I would love to just do:
:) |
So, one thing worth pointing out here is that, at the moment, ZooKeeper is the way that clients (including the MySQL shim) discover the server as well. Even if you could run just the Noria server like you show above, then you wouldn't actually have a way of interacting with it. This is probably something we should fix, though it's somewhat more involved than I had initially thought. @ms705 something worth thinking about. |
I think it would be great to have a config file-based authority implementation! |
I have taken a stab at implementing a static client/server config option in the mysql proxy. I was able to do this without editing Noria code, but having some helper constructs would be nice, as you can tell from the code in the PR.. the gist of the idea is here: Basically we statically construct a LocalAuthority and pre-populate the CONTROLLER value with the value of the new I am not even sure if this is the correct approach.. if it is, we can build on it. |
I'm a bit out of my depth here, but is there any chance that using a native Rust service discovery library such as https://docs.rs/tower/0.4.6/tower/discover/index.html could be a more robust solution to removing the Zookeeper dependency? |
would it be possible to run without ZooKeeper for much simpler/basic deployments so its inline with other databases e.g. MySql/PosgreSql?
The text was updated successfully, but these errors were encountered: