Releases: awslabs/amazon-kinesis-client
Releases · awslabs/amazon-kinesis-client
Release 1.8.5 of the Amazon Kinesis Client for Java
Release 1.8.5 (September 26, 2017)
- Only advance the shard iterator for the accepted response.
This fixes a race condition in theKinesisDataFetcher
when it's being used to make asynchronous requests. The shard iterator is now only advanced when the retriever callsDataFetcherResult#accept()
.
Release 1.8.4 of the Amazon Kinesis Client for Java
Release 1.8.4 (September 22, 2017)
- Create a new completion service for each request.
This ensures that canceled tasks are discarded. This will prevent a cancellation exception causing issues processing records.
Release 1.8.3 of the Amazon Kinesis Client for Java
Release 1.8.3 (September 22, 2017)
- Call shutdown on the retriever when the record processor is being shutdown
This fixes a bug that could leak threads if using theAsynchronousGetRecordsRetrievalStrategy
is being used.
The asynchronous retriever is only used whenKinesisClientLibConfiguration#retryGetRecordsInSeconds
, andKinesisClientLibConfiguration#maxGetRecordsThreadPool
are set.
Release 1.8.2 of the Amazon Kinesis Client for Java
Release 1.8.2 (September 20, 2017)
- Add support for two phase checkpoints
Applications can now set a pending checkpoint, before completing the checkpoint operation. Once the application has completed its checkpoint steps, the final checkpoint will clear the pending checkpoint.
Should the checkpoint fail the attempted sequence number is provided in theInitializationInput#getPendingCheckpointSequenceNumber
otherwise the value will be null. - Support timeouts, and retry for GetRecords calls.
Applications can now set timeouts for GetRecord calls to Kinesis. As part of setting the timeout, the application must also provide a thread pool size for concurrent requests. - Notification when the lease table is throttled
When writes, or reads, to the lease table are throttled a warning will be emitted. If you're seeing this warning you should increase the IOPs for your lease table to prevent processing delays. - Support configuring the graceful shutdown timeout for MultiLang Clients
This adds support for setting the timeout that the Java process will wait for the MutliLang client to complete graceful shutdown. The timeout can be configured by addingshutdownGraceMillis
to the properties file set to the number of milliseconds to wait.
Release 1.8.1 of the Amazon Kinesis Client Library
Release 1.8.1 (August 2, 2017)
- Support timeouts for calls to the MultiLang Daemon
This adds support for setting a timeout when dispatching records to the client record processor. If the record processor doesn't respond within the timeout the parent Java process will be terminated. This is a temporary fix to handle cases where the KCL becomes blocked while waiting for a client record processor.
The timeout for the this can be set by addingtimeoutInSeconds = <timeout value>
. The default for this is no timeout.
Setting this can cause the KCL to exit suddenly, before using this ensure that you have an automated restart for your application
Release 1.8.0 of the Amazon Kinesis Client Library
Release 1.8.0 (July 25, 2017)
- Execute graceful shutdown on its own thread
- Added support for controlling the size of the lease renewer thread pool
- Require Java 8 and later
Java 8 is now required for versions 1.8.0 of the amazon-kinesis-client and later.
Release 1.7.6 of the Amazon Kinesis Client
Release 1.7.6 (June 21, 2017)
- Added support for graceful shutdown in MultiLang Clients
Warning: Before using this version an upgrade to the MultiLang client is required. - Updated documentation for
v2.IRecordProcessor#shutdown
, andKinesisClientLibConfiguration#idleTimeBetweenReadsMillis
- Updated to version 1.11.151 of the AWS Java SDK
Release 1.7.5 of the Amazon Kinesis Client Library
Release 1.7.4 of the Amazon Kinesis Client
Release 1.7.4 (February 27, 2017)
- Fixed an issue building JavaDoc for Java 8.
- Reduce Throttling Messages to WARN, unless throttling occurs 6 times consecutively.
- Fixed two bugs occurring in requestShutdown.
- Fixed a bug that prevented the worker from shutting down, via requestShutdown, when no leases were held.
- Fixed a bug that could trigger a NullPointerException if leases changed during requestShutdown.
- PR #139
- Upgraded the AWS SDK Version to 1.11.91
- Use an executor returned from
ExecutorService.newFixedThreadPool
instead of constructing it by hand. - Correctly initialize DynamoDB client, when endpoint is explicitly set.
Release 1.7.3 of the Amazon Kinesis Client
Release 1.7.3 (January 20, 2017)
- Upgrade to the newest AWS Java SDK.
- Added a direct dependency on commons-logging.
- Make ShardInfo public to allow for custom ShardPrioritization strategies.