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

camel-kafka - KafkaIdempotentRepository misses continuous updates from its topic after startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.4.0, 4.4.1, 4.5.0, 4.6.0
    • 4.8.0
    • camel-kafka
    • None
    • Unknown

    Description

      With CAMEL-20218 and CAMEL-20373 the initialization of the KafkaIdempotentRepository has been changed and seems to work fine.

      One purpose of a KafkaIdempotentRepository is to synchronize an idempotence state over multiple processes (running in parallel on potentially different machines). So a key feature of a KafkaIdempotentRepository is the continuous update of the local in-memory cache with add/remove events from the idempotent repository's topic after initialization. With Commit a407fd82512e6680f4d6d6f97d836e63f76029e6 this capability got lost.

      I absolutely hope this happened unintentionally and will be fixed soon.

      Side Note
      I was surprised to see, that consuming from the idempotent repository's topic worked without providing a consumer group even though we have Kafka's access control activated, restricting describe/read access of this topic to dedicated consumer groups only.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            david.horn David Horn
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: