How do you handle Amazon Kinesis Record duplicates?

According to Amazon Kinesis Streams documentation, a record can be delivered multiple times.

The only way to check each record only once is to temporarily save them in a database that supports integrity checks (for example, DynamoDB, Elasticache or MySQL / PostgreSQL) or just a RecordId breakpoint for each Kinesis fragment.

Do you know a better / more efficient way to handle duplicates?

+6
source share
2 answers

. , , , MD5 , - , , .

-, , , , , , Kinesis, .

, DynamoDB MD5 . , - , , DynamoDB , , ( ). , . DynamoDB, .

DynamoDB - Time To Live, , , . DynamoDB, , ElastiCache, ElastiCache ( , Memcached) - , , , .

+6

Source: https://habr.com/ru/post/1016091/


All Articles