You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, the Amazon DynamoDBLock client will never wait long enough to validate that a key has expired.
Optionally, the logic could also be revisited so that 'tryLock()' never waits, as it is expected (not even for the leaseDuration). It should claim the lock if it does not exists. tryLock(time, unit) should be used if waiting is desired. Note that if this logic is changed, current Kinesis channel adapter in spring-cloud-stream must be updated accordingly to make use of tryLock(time, unit) instead