[
https://issues.apache.org/jira/browse/CAMEL-17841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510542#comment-17510542
]
Kévin LACIRE commented on CAMEL-17841:
--------------------------------------
[https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-java-get-started-send#add-event-hubs-libraries-to-your-java-project]
A modulo is presented as an example to lower the update frequency in the Azure
Eventhub official documentation
> camel-azure - Add checkpoint events by 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
> Priority: Minor
>
> 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)