Lukas Lowinger created CAMEL-22401:
--------------------------------------

             Summary: Camel couchbase
                 Key: CAMEL-22401
                 URL: https://issues.apache.org/jira/browse/CAMEL-22401
             Project: Camel
          Issue Type: Improvement
            Reporter: Lukas Lowinger


In project Camel Quarkus, i've noticed flakiness in couchbase integration 
tests. After investigation, i've noticed that `getDocument` method 
[https://github.com/apache/camel/blob/main/components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseCollectionOperation.java#L80]
 doesn't use retry strategy (as contrary to eg. `setDocument` 
[https://github.com/apache/camel/blob/main/components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseCollectionOperation.java#L60C18-L60C31]
 ). I would like to add `consumerRetryPause` (as the `getDocument` is used both 
in producer and consumer) as addition to `producerRetryPause` and add retry 
strategy to the `getDocument` method.

 

Or should i merge those two and use only one generic `retryPause` for both 
consumer & producer ?

 

Also i've noticed that `producerRetryAttempts` is probably not used at all, 
should i remove it ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to