Skip to content

ZKClient Bridge

Randgalt edited this page Sep 4, 2012 · 7 revisions

You may be trying to integrate a project that uses ZKClient and would like a way to use Curator with that project (for example Kafka). The ZKClient Bridge accomplishes that.

Packaging

The ZKClient Bridge is in its own package in Maven Central: curator-x-zkclient-bridge

Usage

Given a CuratorFramework instance, you can create a bridged ZKClient via:

ZKClient zkClient = new ZkClient(new CuratorZKClientBridge(curatorInstance, timeout));
Clone this wiki locally