We would like to benefit from the requeue mechaninsm of the write behind cache store but with a retry limit.
Our use case is the following:
Our write behind cache store sends REST calls to a downstream system but it can become unavailable from time to time.
If we receive batch updates/inserts to the write behind cache, the queue gets flooded if the REST service is unresponsive.
We would like to retry the REST calls maximum three times then abort, how to remove an entry from the write behind queue after it has been requeued?
We also noticed that stores are retried every minute, is there a way to control this through a parameter?
Tks