Release 1.8.8 of the Amazon Kinesis Client for Java
Release 1.8.8
-
Fixed issues with leases losses due to
ExpiredIteratorException
inPrefetchGetRecordsCache
andAsynchronousFetchingStrategy
.
PrefetchGetRecordsCache will request for a new iterator and start fetching data again. -
Added warning message for long running tasks.
Logging long running tasks can be enabled by setting the following configuration property:Name Default Description logWarningForTaskAfterMillis
Not set Milliseconds after which the logger will log a warning message for the long running task -
Handling spurious lease renewal failures gracefully.
Added better handling of DynamoDB failures when updating leases. These failures would occur when a request to DynamoDB appeared to fail, but was actually successful. -
ShutdownTask gets retried if the previous attempt on the ShutdownTask fails.
-
Fix for using maxRecords from
KinesisClientLibConfiguration
inGetRecordsCache
for fetching records.