I am getting this error while fetching data from Amazon kinesis Stream. I am doing below steps
- creating amazon kinesis Steam
- put the data using
putRecord
api ofAmazonKinesisClient
. - Then using Worker Of KCL library to get the data from stream.
I am getting this error while fetching data from Amazon kinesis Stream. I am doing below steps
putRecord
api of AmazonKinesisClient
.There are a few possibilities.
putRecord
method, the stream and shard should be active.The exception you mention is here: https://github.com/awslabs/amazon-kinesis-client/blob/master/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/ShardSyncer.java#L193
Try deleting the DynamoDB table and let the Kinesis Application (KCL) create a brand new one. Link: https://console.aws.amazon.com/dynamodb/