Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 Apache Helix 与 ZooKeeper 以外的共识服务一起使用。有可能这样做吗?需要实现什么api?
Helix 使用 ZooKeeper 来维护集群的状态并通知集群状态是否有任何变化。如果您想更改为其他共识服务,您正在更改 Helix 架构。
有很多以“ZK”或“Zk”开头的类,例如,ZkListener、ZKHelixAdmin。您可能需要为其他共识服务实现另一组类以提供类似的功能。
那么对于所有用到Zookeeper相关类的地方,都需要替换成新的类,这涉及到重构一些其他的类。