Turns out the AmazonDynamoDBLockClient.acquireLock()
steps into a busy-wait loop with a sleep time out instead of answering the result immediately like it is required by the tryLock()
contract.
See spring-cloud/spring-cloud-stream-binder-aws-kinesis#186 for more info.