erreka保证可用性即ap,zookeeper保证数据一致性,即从cp 参考:https://blog.youkuaiyun.com/java_xth/article/details/82621776