dynamodb-lock-client | general purpose distributed locking library built for AWS
kandi X-RAY | dynamodb-lock-client Summary
kandi X-RAY | dynamodb-lock-client Summary
A general purpose distributed locking library built for AWS DynamoDB.
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dynamodb-lock-client
dynamodb-lock-client Key Features
dynamodb-lock-client Examples and Code Snippets
Community Discussions
Trending Discussions on dynamodb-lock-client
QUESTION
Sometimes, when we are stopping the application abruptly exception occurs that unlocking has been failed. Then the same group will never gets the messages. Other groups are getting messages.
I am using the aws kinesis binder snapshot version.
This is the error, when application is stopped.
...ANSWER
Answered 2018-Jul-19 at 22:22I would say that it is normal behavior for any distributed locks implementation: when your thread holding the lock is broken, there is no any hook to unlock on the DB level.
You need to study a leaseDuration
property of the AmazonDynamoDBLockClient
: https://aws.amazon.com/blogs/database/building-distributed-locks-with-the-dynamodb-lock-client/
Also you show both stack traces in the case of application stop though...
Any chances that you can make a simple project to let us to play with?
UPDATE
The problem has been fixed via: https://github.com/spring-projects/spring-integration-aws/commit/dd52e8f304d20bbdc46d3f9da77e26dd7977f8b7
Thank you again for your good report!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dynamodb-lock-client
No Installation instructions are available at this moment for dynamodb-lock-client.Refer to component home page for details.
Support
If you have any questions vist the community on GitHub, Stack Overflow.
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page