Release 2.2.6 (November 7, 2019)
- Updating the SDK version to 2.9.25.
- Clearing the local cache on a subscription termination, to avoid noisy logs on new subscriptions.
- Updating the SDK version to 2.10.0 in order to fix the premature H2 stream close issue.
- PR#649
- NOTE: SDK has a known connection teardown issue when multiple H2 streams are used within a connection. This might result in shard consumers sticking to a stale service host and not progressing. If your shard consumer gets stuck, use the following configuration as a workaround. This configuration might result in up to 5X increase in total connections.
KinesisAsyncClient kinesisClient = KinesisAsyncClient.builder() .region(region) .httpClientBuilder(NettyNioAsyncHttpClient.builder().maxConcurrency(Integer.MAX_VALUE).maxHttp2Streams(1)) .build()