Skip to content

Commit

Permalink
Merge pull request #499 from awslabs/pub-v0.15.7
Browse files Browse the repository at this point in the history
Preparing for release 0.15.7
  • Loading branch information
aakkem authored May 1, 2023
2 parents ae3dba9 + 9823a9d commit e43e9ff
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
## Changelog
## 0.15.7
* [#498](https://github.com/awslabs/amazon-kinesis-producer/pull/498) Fix some memory leak cases in legacy code
* Upgrade SDK version to avoid s2n_cleanup related memory leak
* Fix resource cleanup on KPL end to avoid memory leak

### 0.15.6
* [#490](https://github.com/awslabs/amazon-kinesis-producer/pull/490) Updating aws cpp sdk version
*

### 0.15.5
* [#482](https://github.com/awslabs/amazon-kinesis-producer/pull/482) Remove the stream arn parameter when the next token is present

Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ ClickEvent event = inputQueue.take();

_Sample above is provided as an example implementation. Please take your application and use cases into consideration before applying logic_

## Recommended Upgrade for All Users of 0.15.2 - 0.15.5 Amazon Kinesis Producer
⚠️ It's highly recommended for users of version 0.15.2 - 0.15.5 of the Amazon Kinesis Producer to upgrade to version 0.15.6 or later. A bug has been identified in versions prior from 0.15.2 - 0.15.5 is causing memory leak issue.
## Recommended Upgrade for All Users of 0.15.0 - 0.15.6 Amazon Kinesis Producer
⚠️ It's highly recommended for users of version 0.15.0 - 0.15.6 of the Amazon Kinesis Producer to upgrade to version 0.15.7 . A bug has been identified in versions prior from 0.15.0 - 0.15.6 is causing memory leak issue.

ℹ️ Amazon Kinesis Producer versions prior to 0.15.2 are not impacted.
ℹ️ Amazon Kinesis Producer versions prior to 0.15.0 are not impacted.

## Recommended Settings for Streams larger than 800 shards
The KPL is an application for ingesting data to your Kinesis Data Streams. As your streams grow you may find the need to tune the KPL to enable it to accommodate the growing needs of your applications. Without optimized configurations your KPL processes will see inefficient CPU usage and delays in writing records into KDS. For streams larger than 800 shards, we recommend the following settings:
Expand All @@ -65,6 +65,11 @@ If you have further questions [please open a GitHub Issue](https://github.com/aw
This is a restatement of the [notice published](https://docs.aws.amazon.com/streams/latest/dev/kinesis-kpl-upgrades.html) in the [Amazon Kinesis Data Streams Developer Guide][kinesis-developer-guide]

## Release Notes
## 0.15.7
* [#498](https://github.com/awslabs/amazon-kinesis-producer/pull/498) Fix some memory leak cases in legacy code
* Upgrade SDK version to avoid s2n_cleanup related memory leak
* Fix resource cleanup on KPL end to avoid memory leak

## 0.15.6
* [#490](https://github.com/awslabs/amazon-kinesis-producer/pull/490) Updating aws cpp sdk version

Expand Down
2 changes: 1 addition & 1 deletion aws/kinesis/core/kinesis_producer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct EndpointConfiguration {
sts_endpoint_(sts_endpoint) {}
};

const constexpr char* kVersion = "0.15.6N";
const constexpr char* kVersion = "0.15.7N";
const std::unordered_map< std::string, EndpointConfiguration > kRegionEndpointOverride = {
{ "cn-north-1", { "kinesis.cn-north-1.amazonaws.com.cn", "monitoring.cn-north-1.amazonaws.com.cn" } },
{ "cn-northwest-1", { "kinesis.cn-northwest-1.amazonaws.com.cn", "monitoring.cn-northwest-1.amazonaws.com.cn" } }
Expand Down
2 changes: 1 addition & 1 deletion java/amazon-kinesis-producer-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>amazon-kinesis-producer</artifactId>
<version>0.15.6</version>
<version>0.15.7</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
2 changes: 1 addition & 1 deletion java/amazon-kinesis-producer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.amazonaws</groupId>
<artifactId>amazon-kinesis-producer</artifactId>
<version>0.15.6</version>
<version>0.15.7</version>
<name>Amazon Kinesis Producer Library</name>

<scm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public final class GlueSchemaRegistrySerializerInstance {

private volatile GlueSchemaRegistrySerializer instance = null;
private static final String USER_AGENT_APP_NAME = "kpl-0.15.6";
private static final String USER_AGENT_APP_NAME = "kpl-0.15.7";

/**
* Instantiate GlueSchemaRegistrySerializer using the KinesisProducerConfiguration.
Expand Down

0 comments on commit e43e9ff

Please sign in to comment.