vert-x3 / vertx-zookeeper

Zookeeper based cluster manager implementation
Other
73 stars 67 forks source link

Ability to configure the retry policy #144

Closed vmorsiani closed 1 year ago

vmorsiani commented 1 year ago

Read me

Read this first before creating an issue:

Describe the feature

Right now the RetryPolicy is hardcoded (ExponentialBackoffRetryPolicy) and the only way to override this is buy providing directly a CuratorFramework instance when creating a ZookeeperClusterManager.

It is a bit overkill to do so when someone simply want to change the retry policy (for something like retry forever for retry elapsed or retry forever for example).

It would be nice to be able to provide the policy to be used in the json configuration.

Use cases

Contribution

https://github.com/vert-x3/vertx-zookeeper/pull/143

tsegismont commented 1 year ago

Closed by #147