zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <l...@toolazydogs.com>
Subject Re: The State of Python Zookeeper libraries and collaboration
Date Sun, 03 Jun 2012 17:44:12 GMT
My Jute changes are kindof hacky since not all the the types in Jute are used; I made the bare
minimum of changes to get my requests and responses in Python.  I also had to make a number
of hand changes to the generated Python classes, e.g.  I added the request header type codes
to the packets.

My code, which is a very rough draft, can be found at 


BTW, I'm happy to take suggestions for a good name.  :)

As you can see I've only tested a small subset of requests.


On May 18, 2012, at 10:11 AM, Mark Gius wrote:

> Are your patches to Jute available somewhere?
> Mark
> On Thu, May 17, 2012 at 8:24 PM, Alan D. Cabrera <list@toolazydogs.com>wrote:
>> On May 17, 2012, at 2:41 PM, Ben Bangert wrote:
>>> If someone comes up with a pure Python client to Zookeeper, I'd be happy
>>> to work on supporting that as well but its a bit beyond the level of
>>> direct involvement I can provide.
>> I'm still goofing around with a pure Python client.  I've modified the
>> Jute compiler to also generate the requests and response objects in Python:
>> http://pastie.org/3928662
>> It seems to be communicating w/ the Zookeeper instances at work perfectly
>> fine but we don't use SASL.
>> I'm a novice Python programmer and this is a simple exercise for me to cut
>> my teeth on.
>> Regards,
>> Alan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message