You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Arink Verma <ar...@iitrpr.ac.in> on 2013/05/03 14:50:49 UTC

Re: Understanding the protocols

@Alan
Hi Alan, I did some inspection of zk packets in wireshark. By reading
zookeeper.jute<https://github.com/apache/zookeeper/blob/trunk/src/zookeeper.jute>
 and kazoo/protocol/serialization.py<https://github.com/python-zk/kazoo/blob/master/kazoo/protocol/serialization.py>,
I have implemented few protocols in my simple finagle zookeeper client[1]

I have brief about zk protocols
here<http://www.arinkverma.in/2013/05/understanding-zookeeper-protocols.html>
[2]

[1]
https://github.com/arinkverma/finagle-zk/tree/master/src/main/scala/com/twitter/finaglezk/protocol
[2]http://www.arinkverma.in/2013/05/understanding-zookeeper-protocols.html


@Russell,
Thanks for help, Does jute file contains all protocols?


On Mon, Apr 29, 2013 at 11:07 AM, Russell Haering
<ru...@gmail.com>wrote:

> Zookeeper uses Jute for RPC, see:
> https://github.com/apache/zookeeper/blob/trunk/src/zookeeper.jute
>
>
> On Sun, Apr 28, 2013 at 9:28 PM, Arink Verma <arinkverma@iitrpr.ac.in
> >wrote:
>
> > Hi Hartmut
> >
> > Thanks I have seen curator, but it seems to be a clinet wrapper over ZK.
> >
> > Its my bad, sorry I forgot to mention that I am applying for Gsoc project
> > which requires implementing the zookeeper wire protocol
> > within the finagle stack
> >
> >
> >
> > On Sun, Apr 28, 2013 at 9:13 PM, Hartmut Lang <hartmut.lang@gmail.com
> > >wrote:
> >
> > > Hi,
> > >
> > > i recommend to have a look at curator:
> http://netflix.github.io/curator/
> > >
> > > Hartmut
> > >
> > >
> > > 2013/4/28 Arink Verma <ar...@gmail.com>
> > >
> > > > Hello everyone
> > > >
> > > > I am Arink, computer science student and open source enthusiastic. I
> am
> > > > working on pure zookeeper client on twitter's finagle. But I am not
> > aware
> > > > of zookeeper's protocols. How it make connection with server?
> > > >
> > > > I have read ZooKeeper Internals[1], but that is so brief to implement
> > > fresh
> > > > client from scratch on scala .
> > > >
> > > >
> > > > can someone provide me any resource and help?
> > > >
> > > >
> > > > [1]
> > > >
> > > >
> > >
> >
> http://zookeeper.apache.org/doc/r3.1.2/zookeeperInternals.html#sc_guaranteesPropertiesDefinitions
> > > >
> > > > Thanks
> > > >
> > > > --
> > > > -
> > > > Arink
> > > > Computer Science and Engineering
> > > > Indian Institute of Technology Ropar
> > > > www.arinkverma.in
> > > >
> > >
> >
> >
> >
> > --
> > Arink
> > Computer Science and Engineering
> > Indian Institute of Technology Ropar
> > www.arinkverma.in
> >
>



-- 
Arink
Computer Science and Engineering
Indian Institute of Technology Ropar
www.arinkverma.in