The path of ephemeral nodes has a pattern in their suffixes (10 digits with
0 (zero) padding), see
https://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html#Ephemeral+Nodes

So you could do a pattern matching and skip those nodes, unless your client
applications deliberately create persistent but none sequential, or
ephemeral nodes with similar pattern.

On Wed, Nov 30, 2016 at 3:39 AM, Edward Ribeiro <edward.ribe...@gmail.com>
wrote:

> Hi,
>
> I don't know how stable and up to date it is, but did you take a look at
> Guano? https://github.com/d2fn/guano
>
> Edward
>
> Em 30 de nov de 2016 9:10 AM, "Xie Gang" <xiegang...@gmail.com> escreveu:
>
> > Hi,
> >
> > I need to copy some zk nodes to some other place. But I need to skip
> those
> > sequence nodes. It seems that we could not get such information from the
> > client API. Is there any way to do this?
> >
> > Thanks,
> >
> >
> > --
> > Xie Gang
> >
>



-- 
Cheers
Michael.

Reply via email to