Git Product home page Git Product logo

Comments (4)

tomasiew avatar tomasiew commented on August 23, 2024

Hi grepsr,

Is the cmd_helper.py script in your example similar to amazon_kclpy_helper.py?

If so, specifying the SDK 1.10 JAR with --classpath will result in it being added to the JVM classpath, which already contains JARs for the Java KCL and SDK. This means that you will have two SDK JARs on the classpath at different versions, which can result in the error you're seeing.

If you'd like to use a different version of the Java KCL or SDK (e.g. 1.10), you'll want to update the Maven package versions in setup.py and re-run download_jars.

Keep in mind, we may not have tested the newest KCL/SDK versions with the Python KCL yet to ensure they are still compatible. If you run into more issues, you may need to switch back to the default versions.

Hope this helps!

from amazon-kinesis-client.

 avatar commented on August 23, 2024

Hi tomasiew,

It turns out the Amazon Kinesis Python client (from pip) is outdated and does not work with the latest versions. I had to update the setup.py and re-install the python packages to make it work.

Now it works great!

I guess I should request to merge the changes into the Python client codebase.

Thanks!

from amazon-kinesis-client.

smokey42 avatar smokey42 commented on August 23, 2024

The latest version which works for me is 1.10.11 which can be downloaded under http://sdk-for-java.amazonwebservices.com/aws-java-sdk-1.10.11.zip

from amazon-kinesis-client.

pfifer avatar pfifer commented on August 23, 2024

The newer versions of the client are now using 1.11.x of the AWS SDK.

What you saw has all the hallmarks of a version mismatch between different components of the AWS SDK.

Please try the newer version of the Python library, and reopen if you have any issues.

from amazon-kinesis-client.

Related Issues (20)

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.