user7393582
user7393582

Reputation: 23

How many CuratorFramework must be created within a large scale project?

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

Answers (1)

Randgalt
Randgalt

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

Related Questions