curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Tschetter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-25) Create a PersistentEphemeralNode recipe
Date Mon, 10 Jun 2013 20:42:20 GMT

    [ https://issues.apache.org/jira/browse/CURATOR-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679877#comment-13679877
] 

Eric Tschetter commented on CURATOR-25:
---------------------------------------

Btw, we recently implemented a very similarish thing in Druid at

https://github.com/metamx/druid/blob/master/client/src/main/java/com/metamx/druid/curator/announcement/Announcer.java

and

https://github.com/metamx/druid/blob/master/client/src/test/java/com/metamx/druid/curator/announcement/AnnouncerTest.java

It's a different model for the API (it's an object that does "announcements" rather than an
object that represents a specific node).

This was implemented specifically for the Druid use-case, but it has been working for us and
if it seems like it would be generally applicable, we can contribute it into Curator as well.
                
> Create a PersistentEphemeralNode recipe
> ---------------------------------------
>
>                 Key: CURATOR-25
>                 URL: https://issues.apache.org/jira/browse/CURATOR-25
>             Project: Apache Curator
>          Issue Type: Task
>          Components: Recipes
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>             Fix For: 2.0.2-incubating
>
>         Attachments: PersistentEphemeralNode.java, TestPersistentEphemeralNode.java
>
>
> Per https://github.com/Netflix/curator/pull/201 and similar requests, create a PersistentEphemeralNode
recipe 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message