You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2022/05/21 07:58:00 UTC

[jira] [Created] (CAMEL-18135) camel-kafka: async manual commit throws is sync and broken

Otavio Rodolfo Piske created CAMEL-18135:
--------------------------------------------

             Summary: camel-kafka: async manual commit throws is sync and 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
             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)