Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 = <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__
__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
Expand Down
14 changes: 7 additions & 7 deletions bin/kcl-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down