AWS Elasticache: Lettuce client: Retry mechanism #3175
Replies: 1 comment
-
Hey Alex, To give you a good explanation I must better understand what "fails" means in your case. Lettuce has a built-in retry mechanism as part of it's command execution reliability:
Does that help? |
Beta Was this translation helpful? Give feedback.
-
Hello there!
I am using Lettuce (https://github.com/redis/lettuce) java client to read/write to AWS Elasticache.
Below is my method to read from Cache by passing key.
However, I want to implement a RETRY mechanism where if the first call to read from cache fails, I want to try one more time. Is there any Lettuce config available to achieve this ?
Thanks,
Alex
Beta Was this translation helpful? Give feedback.
All reactions