Skip to content

bigsnarfdude/ScalaKinesis2Elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScalaKinesis2ElasticSearch

Scala Application for copying Amazon Kinesis data to ElasticSearch.

Usage

  1. git clone https://github.com/bigsnarfdude/ScalaKinesis2SElasticsearch
  2. Configure your application (start with the template config.properties)
  3. Configure AWS access credentials:
    1. Locally, set either
      1. the environment variables AWS_ACCESS_KEY_ID=xxx and AWS_SECRET_KEY=yyy
      2. or the JVM options -Daws.accessKeyId=xxx and -D=aws.secretKey=yyy
    2. On Amazon EC2
      1. No configuration needed if you start the server instance with a proper IAM role (highly recommended!)
  4. Run the app: sbt run

Development

Checkout the source using amazon-kinesis-connectors module provided by awslabs

Building

sbt package

Notes

Licensed under the MIT license.

Uses the Amazon Kinesis Client Library, the Amazon Kinesis Connector Library and the AWS SDK for Java. These are also embedded in the runnable jar. See the AWS licensing terms.

Rationale

The Kinesis Connector sample code contains code for copying Kinesis data to Elasticsearch, but is not easily reusable. This application contains the minimal code for the copying process and nothing else.

.

About

Very similar to my ScalaKinesis2S3 application I built in 2014

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages