aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Wickman <wick...@apache.org>
Subject Re: Service Discovery with Announcer a la AURORA-587
Date Tue, 12 Aug 2014 21:06:29 GMT
Your understanding is correct.  The znodes will be standard
sequential/ephemerals in the paths you mention, starting with "member_" and
ending in the sequence id.  You can either roll your own code to read the
znodes or derive from one of the implementations referenced in the user
guide.

~brian


On Tue, Aug 12, 2014 at 1:56 PM, Joe Stein <joe.stein@stealth.ly> wrote:

> Hey, so I wanted to confirm my understanding of AURORA-587 (based on my
> reading the rb).
>
> So lets say I launch some Kafka brokers with Aurora.  Then the host/ports
> would end up under. /aurora/role/enviornment/mykafkaclusterexample
>
> So then when I launch a producer (which requires a broker to connect to) I
> could just have my producer look in znode
> /aurora/role/enviornment/mykafkaclusterexample to get host/port
> information.
>
> And (if I needed/wanted) setup watchers on
> /aurora/role/enviornment/mykafkaclusterexample so that changes (tasks
> in/out) would come back me.
>
> That simple? Right?
>
> /*******************************************
>  Joe Stein
>  Founder, Principal Consultant
>  Big Data Open Source Security LLC
>  http://www.stealth.ly
>  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> ********************************************/
>

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