zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <indirapriyadharshini.thangam...@wipro.com>
Subject RE: Sample code to register/discovery java rest service with zookeeper 3.4.7
Date Mon, 18 Jan 2016 10:52:12 GMT
Hi Narasimha,

I have worked on Spring Cloud with Eureka as a registry. I have referred the following link
as a startup. Check if it helps as Zookeeper is also a service registry.


I hope the github link will help https://github.com/spring-cloud/spring-cloud-zookeeper/tree/master/spring-cloud-zookeeper-sample/src

Indira Priyadharshini

-----Original Message-----
From: Narasimha Rao Gajje [mailto:Narasimha.Gajje@mindtree.com]
Sent: Monday, 18 January, 2016 4:13 PM
To: user@zookeeper.apache.org
Subject: RE: Sample code to register/discovery java rest service with zookeeper 3.4.7

Thanks Jens.

Had already gone through the links given but unfortunately not able to make out how to register
a service with zookeeper.
Scratching my head to implement very basis service registration with zookeeper.


-----Original Message-----
From: Jens Rantil [mailto:jens.rantil@tink.se]
Sent: Monday, January 18, 2016 4:10 PM
To: <user@zookeeper.apache.org>
Subject: Re: Sample code to register/discovery java rest service with zookeeper 3.4.7

Hi Narasimha,

Unfortunately I don't have a code example at hand. Have you had a look at http://curator.apache.org/getting-started.html
and http://curator.apache.org/curator-examples/index.html?


On Mon, Jan 18, 2016 at 7:42 AM, Narasimha Rao Gajje < Narasimha.Gajje@mindtree.com>

> Dear All,
> I am newbie to apache zookeeper and started exploring it.
> Now I got confused over how to register java rest based service with
> Zookeeper/Curator. I've also downloaded spring boot cloud based
> zookeeper config and discovery modules  but no clue how to use them.
> Would anybody please send me some sample to demo service registration
> and discovery.
> Regards,
> Rao
> ________________________________
> http://www.mindtree.com/email/disclaimer.html

Jens Rantil
Backend engineer
Tink AB

Email: jens.rantil@tink.se
Phone: +46 708 84 18 32
Web: www.tink.se

Facebook <https://www.facebook.com/#!/tink.se> Linkedin <http://www.linkedin.com/company/2735919?trk=vsrp_companies_res_photo&trkInfo=VSRPsearchId%3A1057023381369207406670%2CVSRPtargetId%3A2735919%2CVSRPcmpt%3Aprimary>
 Twitter <https://twitter.com/tink>
The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. WARNING: Computer viruses can be transmitted via email.
The recipient should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted by this email.
View raw message