GithubHelp home page GithubHelp logo

Comments (3)

c0desurfer avatar c0desurfer commented on September 19, 2024 1
<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>amazon-kinesis-client</artifactId>
  <version>1.8.9</version>
</dependency>

The above was all I needed.

from amazon-kinesis-learning.

ravikiranj avatar ravikiranj commented on September 19, 2024

FWIW, I was able to gradle-ize this project by moving the source code to src/main/java folder and adding abuild.gradle file listed at the end of this comment.

There was one missing import which I fixed by changing import com.amazonaws.services.kinesis.clientlibrary.types.ShutdownReason; to import com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShutdownReason; in StockTradeRecordProcessor.java.

You can checkout https://github.com/ravikiranj/amazon-kinesis-learning which has all the above changes applied.

build.gradle

apply plugin: 'idea'
apply plugin: 'java'

repositories {
    jcenter()
}

dependencies {
    compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.8'
    compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.8'
    compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.8'

    compile group: 'com.amazonaws', name: 'amazon-kinesis-client', version: '1.9.3'
    compile group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.9.3'

    compile group: 'com.google.guava', name: 'guava', version: '23.0'

    compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.11'
    compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.7'

    compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
    compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
    compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.9.8'
    compile group: 'joda-time', name: 'joda-time', version: '2.10.1'
}

from amazon-kinesis-learning.

scmacdon avatar scmacdon commented on September 19, 2024

There is a POM file included now that specifies the dependencies that you require.

from amazon-kinesis-learning.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.