/aws-kcl-java

Primary LanguageJavaMIT No AttributionMIT-0

Amazon KCL Sample Implementation

To run this sample make sure you have Maven and Java installed.

To build the JAR, type following command into your Cloud9 Instance terminal:

git clone https://github.com/aws-samples/aws-kcl-java
cd aws-kcl-java/kcl-app
mvn clean compile assembly:single

Set 3 environment variables:

export STREAM_NAME=<YOUR_KINESIS_STREAM_NAME>
export AWS_REGION=<AWS_REGION>
export APPLICATION_NAME=<APPLICATION_NAME_FOR_CONSUMER>

Run the application by using:

java -jar target/kcl-app-1.0-SNAPSHOT-jar-with-dependencies.jar