awslabs / amazon-kinesis-client-ruby

A Ruby interface for the Amazon Kinesis Client Library. Allows developers to easily create robust application to process Amazon Kinesis streams in Ruby.
Apache License 2.0
146 stars 55 forks source link

Gem containing KCL install+run Rakefile #43

Open etipton opened 3 years ago

etipton commented 3 years ago

Description of changes:

Once the gem has been installed via bundler (gem name: aws-kcl-runner),

Install KCL jars like...

JAR_DIR=kcl_jars rake --rakefile `bundle info --path aws-kcl-runner`/Rakefile download_jars

Run KCL+MLD like...

JAVA_HOME=${JAVA_HOME:-/usr} \
JAR_DIR=kcl_jars \
properties_file=kcl.properties \
rake --rakefile `bundle info --path aws-kcl-runner`/Rakefile run

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.