Comments (6)
To clear this properly, find the DynamoDB table with that appName and delete all records.
This will clear the checkpoints from the system so that it won't try to start at an invalid sequence id.
from amazon-kinesis-connectors.
Found the issue. Because the app names are duplicated across sample applications:
They try to use the same DynamoDB table for lookup points in the Kinesis stream. Once I renamed the app it created a new DB table and everything began working as expected.
from amazon-kinesis-connectors.
I faced a similar issue with the redshiftbasic
sample. Using @harlow's advice, re-naming the appName
value within RedShiftBasicSample.properties resolved my issue too.
Thanks.
from amazon-kinesis-connectors.
@harlow recommended to use local instance of dynamo db and kinesis for developing.
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html
https://github.com/mhart/kinesalite
from amazon-kinesis-connectors.
@corby I deleted the record from DynamoDB as you suggested, now I'm getting NPE:
java.lang.NullPointerException: null
at com.amazonaws.services.kinesis.clientlibrary.lib.worker.KinesisClientLibLeaseCoordinator.getCheckpointObject(KinesisClientLibLeaseCoordinator.java:265)
at com.amazonaws.services.kinesis.clientlibrary.lib.worker.InitializeTask.call(InitializeTask.java:82)
at com.amazonaws.services.kinesis.clientlibrary.lib.worker.MetricsCollectingTaskDecorator.call(MetricsCollectingTaskDecorator.java:49)
at com.amazonaws.services.kinesis.clientlibrary.lib.worker.MetricsCollectingTaskDecorator.call(MetricsCollectingTaskDecorator.java:24)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
from amazon-kinesis-connectors.
@landonvg same exception
from amazon-kinesis-connectors.
Related Issues (20)
- AWS ES service version conflict HOT 1
- Add a fail callback when the message can not be transformed. HOT 1
- HTTP proxy support HOT 4
- Emitters should be more extensible
- Application logs
- Logic for auto scaling
- ElasticSearch connector does not work against AWS-ES service HOT 1
- Hibernate - Redshift.
- UnmodifiableBuffer equals method does not return false when buffers contain different records
- is Amazon KCL 1.7.5 compatible with elasticSearch 5.1.1? HOT 1
- Script is still using default values even after modifying the properties file HOT 2
- No suitable driver found for JDBC
- Understanding Number of records emitted to S3 HOT 3
- Not able to run the amazon-kinesis-connectors-samples-1.0.0-SNAPSHOT.jar
- finish Application after consuming n records from the stream with graceful shutdown HOT 2
- Setting Kinesis Client Library DynamoDB properties fails
- The input line is too long. The syntax of the command is incorrect.
- How can I migrate to use KCL 2.x and new AWS SDK, what's the future of kinesis-connectors?
- S3 Sample Error - Caught exception when uploading file s3://pfifer-connector-test HOT 3
- S3 and Kinesis access and secret keys can be different.Support multiple access and secret key.
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-connectors.