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

camel-kafka: rework last processed offset tracking

    XMLWordPrintableJSON

Details

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

    Description

      The record fetcher keeps track of the last processed offset via HashMap that associates the partition+key pair to an offset. This is primarily used for rollbacks and commits when doing manual commit management.

      We should probably move this within the commit management code to further simplify the code.

       

      Also, as pointed here, the data structure in use is not thread-safe.

      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: