Re: changes in zkClient library

2012-12-05 Thread Neha Narkhede
That's right. Kafka 0.8 will require zkclient-0.2. Thanks, Neha On Wed, Dec 5, 2012 at 11:25 AM, Jason Rosenberg wrote: > Ok, > > Sorry to beat a dead horse :) > > Are you saying that we can use zk 3.3.4 or newer, but still we need to > include the zkclient-0.2.jar? > > Thanks, > > Jason > > On

Re: changes in zkClient library

2012-12-05 Thread Jason Rosenberg
Ok, Sorry to beat a dead horse :) Are you saying that we can use zk 3.3.4 or newer, but still we need to include the zkclient-0.2.jar? Thanks, Jason On Wed, Dec 5, 2012 at 11:16 AM, Neha Narkhede wrote: > Jason, > > I meant the former, and thanks to Otis, we now have the patched > version of

Re: changes in zkClient library

2012-12-05 Thread Neha Narkhede
Jason, I meant the former, and thanks to Otis, we now have the patched version of zkclient in a public Maven repo - http://search.maven.org/#artifactdetails|com.101tec|zkclient|0.2|jar Using zookeeper 3.3.4 and newer should work, AFAIK. Thanks, Neha On Wed, Dec 5, 2012 at 11:13 AM, Jason Rosenb

Re: changes in zkClient library

2012-12-05 Thread Jason Rosenberg
Neha, Are you saying that this is a custom mod to zkClient that is not in the public version, or one that exists in 3.3.5 and newer versions of the released zk client? If we use 3.3.5 or 3.3.6, should we be ok? Jason On Wed, Dec 5, 2012 at 10:41 AM, Neha Narkhede wrote: > Jae, > > We modified

Re: changes in zkClient library

2012-12-05 Thread Bae, Jae Hyeon
Thanks a lot for your answer. I am using zookeeper-3.3.5.jar now. On Wed, Dec 5, 2012 at 10:41 AM, Neha Narkhede wrote: > Jae, > > We modified the zkclient read API to expose the zookeeper Stat object. > This is because we need to do conditional writes in some places in > Kafka. Exposing the Sta

Re: changes in zkClient library

2012-12-05 Thread Neha Narkhede
Jae, We modified the zkclient read API to expose the zookeeper Stat object. This is because we need to do conditional writes in some places in Kafka. Exposing the Stat object allows us to read the previous version of the zookeeper value, and we can use that to write the new value if the expected v

changes in zkClient library

2012-12-05 Thread Bae, Jae Hyeon
Could you share what changed in zkclient-20120522.jar? I found that watchers were canceled when the zookeeper connection was interrupted and reconnected with another application. If the new zkclient-20120522 resolved this issue, I need to update this library in my other projects. I really appreci