Reputation: 23
We're creating large-scale projects. spring-boot project which uses curator to interact with zk servers, how many CuratorFramework instance should we create? What level of work can a CuratorFramework instance deal with?
Upvotes: 2
Views: 363
Reputation: 2956
As noted on Curator's website - http://curator.apache.org/curator-framework/index.html - "CuratorFramework instances are fully thread-safe. You should share one CuratorFramework per ZooKeeper cluster in your application."
Upvotes: 5