[
https://issues.apache.org/jira/browse/CAMEL-18135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otavio Rodolfo Piske updated CAMEL-18135:
-----------------------------------------
Summary: camel-kafka: async manual commit is using sync commits and is
broken (was: camel-kafka: async manual commit throws is sync and broken)
> camel-kafka: async manual commit is using sync commits and is broken
> --------------------------------------------------------------------
>
> Key: CAMEL-18135
> URL: https://issues.apache.org/jira/browse/CAMEL-18135
> Project: Camel
> Issue Type: Task
> Components: camel-kafka
> Affects Versions: 3.17.0
> Reporter: Otavio Rodolfo Piske
> Assignee: Otavio Rodolfo Piske
> Priority: Major
> Fix For: 3.18.0
>
>
> Quoting from this comment:
> [https://github.com/apache/camel/pull/7518#issuecomment-1133016320]
>
> {noformat}
> @orpiske the async commit process seems to be broken. The commit() function
> in DefaultKafkaManualAsyncCommit calls a forceCommit() function which is
> synchronous.
> And when fixing it using the commit() function (async with the manager), the
> test throw a ConcurrentModificationException().
> We need to reintroduce a ConcurrentQueue storing commits which should be
> process by the main kafka consumer polling loop and thread.{noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)