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

Use Redis String instead of Set as datatype for idempotent consumer

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.15.2
    • Fix Version/s: 2.16.0
    • Component/s: camel-spring-redis
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The current implementation of the RedisIdempotentRepository uses a (Redis) set as the underlying data structure. This is conceptually nice for keeping all consumed keys in a single logical location. However, it makes the management of keys more difficult, since we cannot use Redis' built in mechanisms for expiring keys and have to do a manual cleanup.

      Thus, this issue proposes to use Redis String as the datatype for a single entry in order to provide support for expiring keys. If the community is in favor of this idea, I am happy to provide a patch (or a second, alternative implementation).

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              marcozapletal Marco Zapletal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: