spring-projects / spring-projects/spring-integration

Utility to cleanup the MetaDataStore based on some expiry date [INT-4522]

Open
#8,461 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: core type: enhancement
Dominant language
Java
Stars
1.6k
Forks
1.2k
Avg merge
17h 48m
Merged PRs (30d)
62

Description

Nagendra siram opened INT-4522 and commented

The Spring idempotent service use INT_METADATA_STORE table to identify duplicates messages. 

https://docs.spring.io/spring-integration/docs/current/reference/html/system-management-chapter.html#metadata-store

In above link it says

The value of the idempotent entry may be some expiration date, after which that entry should be removed from Metadata Store by some scheduled reaper.

It would be nice to have a utility function provided by spring that user can wire up to clean up the records that are in INT_METADATA_STORE table.


Reference URL: https://stackoverflow.com/questions/51839414/how-to-cleanup-the-metadata-store-used-for-idempotent-spring-integration-pattern

Referenced from: pull request https://github.com/spring-projects/spring-integration/pull/2619

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Metadata Store and idempotent service behavior described in the issue and the linked Spring Integration reference documentation. Determine how expiry dates in INT_METADATA_STORE should be identified and what scheduled cleanup utility users can wire up; done means expired records can be removed without affecting valid idempotent entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.