Camel
  1. Camel
  2. CAMEL-5843

camel-zookeeper - Add functionality to delete a node

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: camel-zookeeper
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The zookeeper component can insert/update new nodes. We should also add support for deleting nodes.

      See
      http://stackoverflow.com/questions/13660205/is-it-possible-and-if-so-how-to-delete-a-zookeeper-node-with-apache-camel

        Activity

        Hide
        Benjamin Habegger added a comment -

        Here is a patch I've worked on to introduce this feature. It extends the Producer with a CamelZookeeperOperation header which when set to "DELETE" deletes the znode rather than writing to it.

        Show
        Benjamin Habegger added a comment - Here is a patch I've worked on to introduce this feature. It extends the Producer with a CamelZookeeperOperation header which when set to "DELETE" deletes the znode rather than writing to it.
        Hide
        Claus Ibsen added a comment -

        Willem do you have time to look at this patch?

        Show
        Claus Ibsen added a comment - Willem do you have time to look at this patch?
        Hide
        Claus Ibsen added a comment -

        Thanks Benjamin.

        Do you have any suggestions for adding docs about this new functionality? You can add an attachment with your suggestions or comment here.
        Or better yet get permission to edit the docs
        http://camel.apache.org/how-do-i-edit-the-website.html

        Show
        Claus Ibsen added a comment - Thanks Benjamin. Do you have any suggestions for adding docs about this new functionality? You can add an attachment with your suggestions or comment here. Or better yet get permission to edit the docs http://camel.apache.org/how-do-i-edit-the-website.html
        Hide
        Willem Jiang added a comment -

        Applied the patch into trunk with thanks to Benjamin, I also fixed some patch reject issue and CS issues.
        I will close the issue once the wiki page is updated.

        Show
        Willem Jiang added a comment - Applied the patch into trunk with thanks to Benjamin, I also fixed some patch reject issue and CS issues. I will close the issue once the wiki page is updated.
        Hide
        Benjamin Habegger added a comment -

        Wonderful. I just launched the formal process to be able to edit the wiki. I'll update the wiki as soon as possible.

        Show
        Benjamin Habegger added a comment - Wonderful. I just launched the formal process to be able to edit the wiki. I'll update the wiki as soon as possible.
        Hide
        Benjamin Habegger added a comment -

        I added a documentation proposal to the wiki.

        Show
        Benjamin Habegger added a comment - I added a documentation proposal to the wiki.
        Hide
        Claus Ibsen added a comment -

        Thanks for the doc update.

        Show
        Claus Ibsen added a comment - Thanks for the doc update.

          People

          • Assignee:
            Willem Jiang
            Reporter:
            Claus Ibsen
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development