初识Curator - instance must be started before calling this method
开始学习Curator ZooKeeper开源客户端。由于ZooKeeper原生的客户端比较低层,而且使用起来不方便,Netflix公司对ZooKeeper客户端API进行了封闭,提供一可以替代原生ZooKeeper客户端的框架——Curator,刚学习Curator,正尝试使用Curator编写znode节点的增、删、改、查,真是万事开头难,执行实例时就报错:java.lang.IllegalS
原创
2016-10-17 16:53:59 ·
15713 阅读 ·
2 评论