adding LocalAuthority as an option for a client-server model#10
adding LocalAuthority as an option for a client-server model#10rrichardson wants to merge 1 commit into
Conversation
| .short("h") | ||
| .takes_value(true) | ||
| .required_unless("zk_addr") | ||
| .conflicts_with("zk_addr") |
There was a problem hiding this comment.
These should probably also be added to the zk_addr argument
|
Ah, that's an interesting to this. I'm a little worried about constructing a |
|
@jonhoo - I agree that using What about breaking the
So the ZookeeperAuthority struct would actually implement both, but the ConfigAuthority would only implement the read portion (being directly initialized with a Map of some sort ) |
|
Sure, that seems like a reasonable way to do it. Maybe |
This is a proposal for how to manage configuring a client with the static address of a server. It builds, but I haven't tested it. I want to make sure this is a sane approach before I go further.
I had to create a
run()function so that I could statically dispatch based on the type ofAuthority. I was unable to BoxSyncControllerHandlewithout editing the noria code.