Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I delete data records or shards from amazon Kinesis without deleting stream?

I know data records in Kinesis Stream will be deleted automatically in 24 hrs. But in my application when ever I write some data into stream, for the 2nd time if I want to write some other data, Data inserted first should be deleted. Please anyone help me since I am new to using AWS Kinesis Stream...I didn't get any help from Kinesis Service API...

like image 573
Kishore Kumar Korada Avatar asked Aug 23 '14 11:08

Kishore Kumar Korada


1 Answers

You can not delete previously inserted data from stream, but you can read data using KCL. KCL will create checkpoint every after one data slot read, so whenever you go for next slot of new data, KCL will read it from last checkpoint created in dynamodb table, so previously read data will be not included in next slot.

like image 156
mk-baku Avatar answered Oct 05 '22 23:10

mk-baku