Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18135

camel-kafka: async manual commit is using sync commits and is broken

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.17.0
    • 3.18.0
    • camel-kafka
    • None
    • Unknown

    Description

      Quoting from this comment: https://github.com/apache/camel/pull/7518#issuecomment-1133016320

       

      @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.

      Attachments

        Issue Links

          Activity

            People

              orpiske Otavio Rodolfo Piske
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: