Jerry Cwiklik created UIMA-5816:
-----------------------------------

             Summary: UIMA-DUCC: pull-service should use a window for errors
                 Key: UIMA-5816
                 URL: https://issues.apache.org/jira/browse/UIMA-5816
             Project: UIMA
          Issue Type: Improvement
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.2.3-Ducc


Currently a pull-service terminates on a process error. This might not be 
desired in some cases. A service should support a configurable window for 
errors, for example:

       allow 3 errors per 100 tasks processed  

To support this, a pull service needs two parameters: 

max number of errors and a window size

if the max number=0, the pull-service will terminate on 1st error.

Consider implementing a pluggable error handler that will encapsulate the 
above. Such error handler will be plugged into an instance of IServiceProcessor.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to