Comments (4)
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.
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.
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.
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)
- NoSuchMethodError when using version 2.4.0 HOT 2
- AWS SDK v2 upgrade plans
- Clarification about DynamoDB initial configuration for KCL with consumer application HOT 3
- Guava dependencies with vulnerabilities in 1.x HOT 1
- Shutdown has been called on the cache, can't accept new requests.
- Feature Request: Stream name in aws kcl consumer when MultiStreamTracker is used HOT 4
- Problem in ts-tsbgservice-kinesis-incoming-emea-prod HOT 2
- Unexpected exception was thrown - IllegalStateException
- RetrievalConfig.initialPositionInStreamExtended deprecated HOT 1
- KCL continues to hold leases after unexpected shutdown due to Error
- Please update your schema-registry-serde library in order to solve CVE issue HOT 1
- Need more test cases, samples, documentation for StreamConfigs in case of Multi Streams with KCL2.x.
- Support for both polling and fanout retrieval mode for multi-stream consumer configuration HOT 1
- amazon-kinesis-client-pom using old awssdk.version HOT 2
- i.n.c.ChannelInitializer Failed to initialize a channel. Closing: [id: 0x9a4e56d6] java.lang.VerifyError: Bad return type HOT 2
- Lease table is not updated when new shards are added causing stale workers HOT 1
- Support artifacts with all third-party dependencies relocated HOT 1
- Consolidate metrics to a common name space, like /aws/kinesis-client HOT 2
- Uneven distribution of shards over the consumer application workers HOT 1
- Retrieving shard consumer's current lease's hash range key HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-kinesis-client.