diff --git a/README.md b/README.md index 4c48d8f5..d43d1884 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ Before you begin, Node.js and NPM must be installed on your system. For download To get the sample KCL application and bootstrap script, you need git. -Amazon KCL for Node.js uses [MultiLangDaemon][multi-lang-daemon] provided by [Amazon KCL for Java][amazon-kcl-github]. You also need Java version 1.7 or higher installed. +Amazon KCL for Node.js uses [MultiLangDaemon][multi-lang-daemon] provided by [Amazon KCL for Java][amazon-kcl-github]. You also need Java version 1.8 or higher installed. ### Setting Up the Environment Before running the samples, make sure that your environment is configured to allow the samples to use your [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html), which are used by [MultiLangDaemon][multi-lang-daemon] to interact with AWS services. @@ -225,7 +225,7 @@ This sample application creates an [Amazon Kinesis][amazon-kinesis] stream, send You can delete these using the AWS Management Console. ## Running on Amazon EC2 -Log into an Amazon EC2 instance running Amazon Linux, then perform the following steps to prepare your environment for running the sample application. Note the version of Java that ships with Amazon Linux can be found at `/usr/bin/java` and should be 1.7 or greater. +Log into an Amazon EC2 instance running Amazon Linux, then perform the following steps to prepare your environment for running the sample application. Note the version of Java that ships with Amazon Linux can be found at `/usr/bin/java` and should be 1.8 or greater. ```sh # install node.js, npm and git @@ -272,6 +272,19 @@ In this release, we have abstracted these implementation details away and expose ## Release Notes +### Release 0.7.0 (August 2, 2017) +* Updated the dependency on [Amazon Kinesis Client for Java][amazon-kcl-github] to 1.8.1. +This adds support for setting a timeout when dispatching records to the node.js record processor. +If the record processor doesn't respond in the given time the Java processor is terminated. +The timeout for the this can be set by adding `timeoutInSeconds = `. 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__ +__Updating minimum requirement for the JDK version to 8__ + * [Amazon Kinesis Client Issue #185](https://github.com/awslabs/amazon-kinesis-client/issues/185) + * [PR #41](https://github.com/awslabs/amazon-kinesis-client-nodejs/pull/41) +* Added support to handle graceful shutdown requests. + * [PR #39](https://github.com/awslabs/amazon-kinesis-client-nodejs/pull/39) + * [Issue #34](https://github.com/awslabs/amazon-kinesis-client-nodejs/issues/34) + ### Release 0.6.0 (December 12, 2016) * Updated the dependency on [Amazon Kinesis Client for Java][amazon-kcl-github] to 1.7.2. * PR #23 diff --git a/bin/kcl-bootstrap b/bin/kcl-bootstrap index 9643bb04..ed99d31a 100755 --- a/bin/kcl-bootstrap +++ b/bin/kcl-bootstrap @@ -33,13 +33,13 @@ var MAVEN_PACKAGE_LIST = [ getMavenPackageInfo('commons-logging', 'commons-logging', '1.1.3'), getMavenPackageInfo('commons-lang', 'commons-lang', '2.6'), getMavenPackageInfo('joda-time', 'joda-time', '2.8.1'), - getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-core', '1.11.151'), - getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-cloudwatch', '1.11.151'), - getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-dynamodb', '1.11.151'), - getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-kinesis', '1.11.151'), - getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-kms', '1.11.151'), - getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-s3', '1.11.151'), - getMavenPackageInfo('com.amazonaws', 'amazon-kinesis-client', '1.7.6'), + getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-core', '1.11.171'), + getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-cloudwatch', '1.11.171'), + getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-dynamodb', '1.11.171'), + getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-kinesis', '1.11.171'), + getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-kms', '1.11.171'), + getMavenPackageInfo('com.amazonaws', 'aws-java-sdk-s3', '1.11.171'), + getMavenPackageInfo('com.amazonaws', 'amazon-kinesis-client', '1.8.1'), getMavenPackageInfo('com.fasterxml.jackson.core', 'jackson-databind', '2.6.6'), getMavenPackageInfo('com.fasterxml.jackson.core', 'jackson-core', '2.6.6'), getMavenPackageInfo('com.fasterxml.jackson.core', 'jackson-annotations', '2.6.0'), diff --git a/package.json b/package.json index 70a04f6b..8175d061 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-kcl", "description": "Kinesis Client Libray (KCL) in Node.js.", - "version": "0.6.0", + "version": "0.7.0", "author": { "name": "Amazon Web Services", "url": "http://aws.amazon.com/"