You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Stefan Groschupf <sg...@101tec.com> on 2009/06/23 01:41:14 UTC

common client

Hi,

I wonder if people are interested to work together on a zk client that  
support some more functionality than zk offers by default.
Katta has this client and I copied the code into a couple other  
projects as well but I'm sure it could be better than it is.

http://katta.svn.sourceforge.net/viewvc/katta/trunk/src/main/java/net/sf/katta/zk/ZKClient.java?view=markup

I'm sure other would benefit from such a client.

Some of the feature are:
+ Connect
+ Data and StateChangeListener - subscribe once, get events until  
unsubscribe
+ Threadsafe

It is not a lot of code but I'm just tired to have it duplicated so  
many times.
Anyone interested to join in?  Or is there something like this already?
I could just copy this to a github project.

Stefan


Re: common client

Posted by Peter Voss <in...@petervoss.org>.
Hi all,

I have just pushed our current zkclient code to the repo that Stefan  
had mentioned below. Feel free to check it out. Feedback is very  
welcome.

Thanks,
--Peter

On 01.07.2009, at 06:24, Stefan Groschupf wrote:

> Hi All,
> we created a github repo:
> http://github.com/joa23/zkclient/tree/master
>
> It is empty right now but my colleagues Peter and Vivek will push  
> something into it within the next days.
> As soon we have something stable we can push it where ever we want.  
> Github is just easy to get started.
>
> If that is ok with the zookeeper crew we can use this mailing list  
> to discuss things. As soon the traffic is too much we would start a  
> tmp google group or something.
> Every helping hand but even more improvement suggestion are welcome.
>
> Thanks,
> Stefan
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Hadoop training and consulting
> http://www.scaleunlimited.com
> http://www.101tec.com
>
>
>
> On Jun 23, 2009, at 7:42 AM, Henry Robinson wrote:
>
>> +1 to this idea. It will be good to have some more focus on  
>> examples of how
>> to build applications using ZK; experiences here will feed back  
>> into the
>> design of the core.
>>
>> Henry
>>
>> On Tue, Jun 23, 2009 at 2:23 AM, Mahadev Konar <mahadev@yahoo- 
>> inc.com>wrote:
>>
>>> Hi Stefan,
>>> This would be a good addition. Feel free to open a jira and  
>>> contribute the
>>> code. As Nitay suggested, this can go in to src/recipes/ 
>>> $recipe_name and
>>> would be quite useful.
>>>
>>> thanks
>>> mahadev
>>>
>>>
>>> On 6/22/09 4:45 PM, "Nitay" <ni...@gmail.com> wrote:
>>>
>>>> +1. I would be interested in things like this. I think it should  
>>>> be in
>>>> some contrib/ type thing under zookeeper, like the recipes.
>>>>
>>>> On Mon, Jun 22, 2009 at 4:41 PM, Stefan Groschupf<sg...@101tec.com>  
>>>> wrote:
>>>>> Hi,
>>>>>
>>>>> I wonder if people are interested to work together on a zk  
>>>>> client that
>>>>> support some more functionality than zk offers by default.
>>>>> Katta has this client and I copied the code into a couple other  
>>>>> projects
>>> as
>>>>> well but I'm sure it could be better than it is.
>>>>>
>>>>>
>>> http://katta.svn.sourceforge.net/viewvc/katta/trunk/src/main/java/net/sf/katt
>>>>> a/zk/ZKClient.java?view=markup
>>>>>
>>>>> I'm sure other would benefit from such a client.
>>>>>
>>>>> Some of the feature are:
>>>>> + Connect
>>>>> + Data and StateChangeListener - subscribe once, get events until
>>>>> unsubscribe
>>>>> + Threadsafe
>>>>>
>>>>> It is not a lot of code but I'm just tired to have it duplicated  
>>>>> so many
>>>>> times.
>>>>> Anyone interested to join in?  Or is there something like this  
>>>>> already?
>>>>> I could just copy this to a github project.
>>>>>
>>>>> Stefan
>>>>>
>>>>>
>>>
>>>
>


Re: common client

Posted by Mahadev Konar <ma...@yahoo-inc.com>.
Hi Stefan,
  Feel free to use the mailing list to discuss things related to the
zookeeper common client. If the traffic is huge, as you suggested the
discussions can be moved  out of this mailing list.

mahadev


On 6/30/09 9:24 PM, "Stefan Groschupf" <sg...@101tec.com> wrote:

> Hi All,
> we created a github repo:
> http://github.com/joa23/zkclient/tree/master
> 
> It is empty right now but my colleagues Peter and Vivek will push
> something into it within the next days.
> As soon we have something stable we can push it where ever we want.
> Github is just easy to get started.
> 
> If that is ok with the zookeeper crew we can use this mailing list to
> discuss things. As soon the traffic is too much we would start a tmp
> google group or something.
> Every helping hand but even more improvement suggestion are welcome.
> 
> Thanks,
> Stefan
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Hadoop training and consulting
> http://www.scaleunlimited.com
> http://www.101tec.com
> 
> 
> 
> On Jun 23, 2009, at 7:42 AM, Henry Robinson wrote:
> 
>> +1 to this idea. It will be good to have some more focus on examples
>> of how
>> to build applications using ZK; experiences here will feed back into
>> the
>> design of the core.
>> 
>> Henry
>> 
>> On Tue, Jun 23, 2009 at 2:23 AM, Mahadev Konar <mahadev@yahoo-
>> inc.com>wrote:
>> 
>>> Hi Stefan,
>>> This would be a good addition. Feel free to open a jira and
>>> contribute the
>>> code. As Nitay suggested, this can go in to src/recipes/
>>> $recipe_name and
>>> would be quite useful.
>>> 
>>> thanks
>>> mahadev
>>> 
>>> 
>>> On 6/22/09 4:45 PM, "Nitay" <ni...@gmail.com> wrote:
>>> 
>>>> +1. I would be interested in things like this. I think it should
>>>> be in
>>>> some contrib/ type thing under zookeeper, like the recipes.
>>>> 
>>>> On Mon, Jun 22, 2009 at 4:41 PM, Stefan Groschupf<sg...@101tec.com>
>>>> wrote:
>>>>> Hi,
>>>>> 
>>>>> I wonder if people are interested to work together on a zk client
>>>>> that
>>>>> support some more functionality than zk offers by default.
>>>>> Katta has this client and I copied the code into a couple other
>>>>> projects
>>> as
>>>>> well but I'm sure it could be better than it is.
>>>>> 
>>>>> 
>>> 
http://katta.svn.sourceforge.net/viewvc/katta/trunk/src/main/java/net/sf/kat>>>
t
>>>>> a/zk/ZKClient.java?view=markup
>>>>> 
>>>>> I'm sure other would benefit from such a client.
>>>>> 
>>>>> Some of the feature are:
>>>>> + Connect
>>>>> + Data and StateChangeListener - subscribe once, get events until
>>>>> unsubscribe
>>>>> + Threadsafe
>>>>> 
>>>>> It is not a lot of code but I'm just tired to have it duplicated
>>>>> so many
>>>>> times.
>>>>> Anyone interested to join in?  Or is there something like this
>>>>> already?
>>>>> I could just copy this to a github project.
>>>>> 
>>>>> Stefan
>>>>> 
>>>>> 
>>> 
>>> 
> 


Re: common client

Posted by Stefan Groschupf <sg...@101tec.com>.
Hi All,
we created a github repo:
http://github.com/joa23/zkclient/tree/master

It is empty right now but my colleagues Peter and Vivek will push  
something into it within the next days.
As soon we have something stable we can push it where ever we want.  
Github is just easy to get started.

If that is ok with the zookeeper crew we can use this mailing list to  
discuss things. As soon the traffic is too much we would start a tmp  
google group or something.
Every helping hand but even more improvement suggestion are welcome.

Thanks,
Stefan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hadoop training and consulting
http://www.scaleunlimited.com
http://www.101tec.com



On Jun 23, 2009, at 7:42 AM, Henry Robinson wrote:

> +1 to this idea. It will be good to have some more focus on examples  
> of how
> to build applications using ZK; experiences here will feed back into  
> the
> design of the core.
>
> Henry
>
> On Tue, Jun 23, 2009 at 2:23 AM, Mahadev Konar <mahadev@yahoo- 
> inc.com>wrote:
>
>> Hi Stefan,
>> This would be a good addition. Feel free to open a jira and  
>> contribute the
>> code. As Nitay suggested, this can go in to src/recipes/ 
>> $recipe_name and
>> would be quite useful.
>>
>> thanks
>> mahadev
>>
>>
>> On 6/22/09 4:45 PM, "Nitay" <ni...@gmail.com> wrote:
>>
>>> +1. I would be interested in things like this. I think it should  
>>> be in
>>> some contrib/ type thing under zookeeper, like the recipes.
>>>
>>> On Mon, Jun 22, 2009 at 4:41 PM, Stefan Groschupf<sg...@101tec.com>  
>>> wrote:
>>>> Hi,
>>>>
>>>> I wonder if people are interested to work together on a zk client  
>>>> that
>>>> support some more functionality than zk offers by default.
>>>> Katta has this client and I copied the code into a couple other  
>>>> projects
>> as
>>>> well but I'm sure it could be better than it is.
>>>>
>>>>
>> http://katta.svn.sourceforge.net/viewvc/katta/trunk/src/main/java/net/sf/katt
>>>> a/zk/ZKClient.java?view=markup
>>>>
>>>> I'm sure other would benefit from such a client.
>>>>
>>>> Some of the feature are:
>>>> + Connect
>>>> + Data and StateChangeListener - subscribe once, get events until
>>>> unsubscribe
>>>> + Threadsafe
>>>>
>>>> It is not a lot of code but I'm just tired to have it duplicated  
>>>> so many
>>>> times.
>>>> Anyone interested to join in?  Or is there something like this  
>>>> already?
>>>> I could just copy this to a github project.
>>>>
>>>> Stefan
>>>>
>>>>
>>
>>


Re: common client

Posted by Henry Robinson <he...@cloudera.com>.
+1 to this idea. It will be good to have some more focus on examples of how
to build applications using ZK; experiences here will feed back into the
design of the core.

Henry

On Tue, Jun 23, 2009 at 2:23 AM, Mahadev Konar <ma...@yahoo-inc.com>wrote:

> Hi Stefan,
>  This would be a good addition. Feel free to open a jira and contribute the
> code. As Nitay suggested, this can go in to src/recipes/$recipe_name and
> would be quite useful.
>
> thanks
> mahadev
>
>
> On 6/22/09 4:45 PM, "Nitay" <ni...@gmail.com> wrote:
>
> > +1. I would be interested in things like this. I think it should be in
> > some contrib/ type thing under zookeeper, like the recipes.
> >
> > On Mon, Jun 22, 2009 at 4:41 PM, Stefan Groschupf<sg...@101tec.com> wrote:
> >> Hi,
> >>
> >> I wonder if people are interested to work together on a zk client that
> >> support some more functionality than zk offers by default.
> >> Katta has this client and I copied the code into a couple other projects
> as
> >> well but I'm sure it could be better than it is.
> >>
> >>
> http://katta.svn.sourceforge.net/viewvc/katta/trunk/src/main/java/net/sf/katt
> >> a/zk/ZKClient.java?view=markup
> >>
> >> I'm sure other would benefit from such a client.
> >>
> >> Some of the feature are:
> >> + Connect
> >> + Data and StateChangeListener - subscribe once, get events until
> >> unsubscribe
> >> + Threadsafe
> >>
> >> It is not a lot of code but I'm just tired to have it duplicated so many
> >> times.
> >> Anyone interested to join in?  Or is there something like this already?
> >> I could just copy this to a github project.
> >>
> >> Stefan
> >>
> >>
>
>

Re: common client

Posted by Mahadev Konar <ma...@yahoo-inc.com>.
Hi Stefan,
 This would be a good addition. Feel free to open a jira and contribute the
code. As Nitay suggested, this can go in to src/recipes/$recipe_name and
would be quite useful.

thanks
mahadev


On 6/22/09 4:45 PM, "Nitay" <ni...@gmail.com> wrote:

> +1. I would be interested in things like this. I think it should be in
> some contrib/ type thing under zookeeper, like the recipes.
> 
> On Mon, Jun 22, 2009 at 4:41 PM, Stefan Groschupf<sg...@101tec.com> wrote:
>> Hi,
>> 
>> I wonder if people are interested to work together on a zk client that
>> support some more functionality than zk offers by default.
>> Katta has this client and I copied the code into a couple other projects as
>> well but I'm sure it could be better than it is.
>> 
>> http://katta.svn.sourceforge.net/viewvc/katta/trunk/src/main/java/net/sf/katt
>> a/zk/ZKClient.java?view=markup
>> 
>> I'm sure other would benefit from such a client.
>> 
>> Some of the feature are:
>> + Connect
>> + Data and StateChangeListener - subscribe once, get events until
>> unsubscribe
>> + Threadsafe
>> 
>> It is not a lot of code but I'm just tired to have it duplicated so many
>> times.
>> Anyone interested to join in?  Or is there something like this already?
>> I could just copy this to a github project.
>> 
>> Stefan
>> 
>> 


Re: common client

Posted by Nitay <ni...@gmail.com>.
+1. I would be interested in things like this. I think it should be in
some contrib/ type thing under zookeeper, like the recipes.

On Mon, Jun 22, 2009 at 4:41 PM, Stefan Groschupf<sg...@101tec.com> wrote:
> Hi,
>
> I wonder if people are interested to work together on a zk client that
> support some more functionality than zk offers by default.
> Katta has this client and I copied the code into a couple other projects as
> well but I'm sure it could be better than it is.
>
> http://katta.svn.sourceforge.net/viewvc/katta/trunk/src/main/java/net/sf/katta/zk/ZKClient.java?view=markup
>
> I'm sure other would benefit from such a client.
>
> Some of the feature are:
> + Connect
> + Data and StateChangeListener - subscribe once, get events until
> unsubscribe
> + Threadsafe
>
> It is not a lot of code but I'm just tired to have it duplicated so many
> times.
> Anyone interested to join in?  Or is there something like this already?
> I could just copy this to a github project.
>
> Stefan
>
>