Kévin LACIRE created CAMEL-17841:
------------------------------------

             Summary: Add checkpoint events per batch
                 Key: CAMEL-17841
                 URL: https://issues.apache.org/jira/browse/CAMEL-17841
             Project: Camel
          Issue Type: New Feature
          Components: camel-azure
            Reporter: Kévin LACIRE


Currently the Azure Eventhub consumer is checkpoint it's offset on [every 
processed 
exchange|https://github.com/apache/camel/blob/cb9d18559c2a482445be47ff28d423e1ddcdb7e9/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsConsumer.java#L149]
 a quick upgrade would be to expose a *batchSize* parameter to execute this 
checkpoint less frequently (this dramatically alter consumption performances) a 
time interval could also be complementary to avoid potentially unlimited 
pending checkpoint of the last batch 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to