The Amazon DynamoDB Streams Adapter implements the Amazon Kinesis interface so that your application can use KCL to consume and process data from a DynamoDB stream.
Apache License 2.0
99
stars
37
forks
source link
KCL is unable to renew the lease due to an issue calling renewLeases #36
There is an internal server error during the lifetime of a table: a DependencyException when DynamoDB update fails in an unexpected way - indicating that the KCL is unable to renew the lease due to an issue calling renewLeases on the application's lease table (kinesis library having issue talking to DynamoDB).
The worker tries to renewLeases and throws a log error: Encountered and exception while renewing a lease (it increases a lease to 1).
"message":"LeasingException encountered in lease renewing thread”"stack_trace":"com.amazonaws.services.kinesis.leases.exceptions.DependencyException: Encountered an exception while renewing leases.."
There is an internal server error during the lifetime of a table: a DependencyException when DynamoDB update fails in an unexpected way - indicating that the KCL is unable to renew the lease due to an issue calling renewLeases on the application's lease table (kinesis library having issue talking to DynamoDB).
The worker tries to renewLeases and throws a log error: Encountered and exception while renewing a lease (it increases a lease to 1).
"message":"LeasingException encountered in lease renewing thread”
"stack_trace":"com.amazonaws.services.kinesis.leases.exceptions.DependencyException: Encountered an exception while renewing leases.."
amazon-kinesis-client:1.9.1 aws-java-sdk-dynamodb:1.11.382 dynamodb-streams-kinesis-adapter:1.4.0
Any idea how to fix it? Thanks