You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Zhihong Zhang (JIRA)" <ji...@apache.org> on 2015/06/24 19:56:05 UTC

[jira] [Created] (CURATOR-225) Add a new mode ErrorMode.KEEP

Zhihong Zhang created CURATOR-225:
-------------------------------------

             Summary: Add a new mode ErrorMode.KEEP
                 Key: CURATOR-225
                 URL: https://issues.apache.org/jira/browse/CURATOR-225
             Project: Apache Curator
          Issue Type: New Feature
          Components: Framework
    Affects Versions: 2.8.0
         Environment: Windows 7/Java 8
            Reporter: Zhihong Zhang
            Priority: Critical


When locking is used and consumer throws exception, there are currently 2 modes, REQUEUE and DELETE.  In our use-cases, the items in the queue need to keep in the same FIFO order, even in case of the error. A 3rd mode is needed to keep the queue order intact.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)