dynamodb-lock-client | general purpose distributed locking library built for AWS

 by   tristanls JavaScript Version: Current License: MIT

kandi X-RAY | dynamodb-lock-client Summary

kandi X-RAY | dynamodb-lock-client Summary

null

A general purpose distributed locking library built for AWS DynamoDB.
Support
    Quality
      Security
        License
          Reuse

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dynamodb-lock-client
            Get all kandi verified functions for this library.

            dynamodb-lock-client Key Features

            No Key Features are available at this moment for dynamodb-lock-client.

            dynamodb-lock-client Examples and Code Snippets

            No Code Snippets are available at this moment for dynamodb-lock-client.

            Community Discussions

            QUESTION

            Spring Aws Kinesis Binder Acquiring and Releasing lock issues in Dynamo DB while consuming messages
            Asked 2018-Jul-19 at 22:22

            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:22

            I 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!

            Source https://stackoverflow.com/questions/51428196

            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

            For feature suggestions, bugs create an issue on GitHub
            If you have any questions vist the community on GitHub, Stack Overflow.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • sshUrl

            git@github.com:tristanls/dynamodb-lock-client.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link