awslabs / awslabs/amazon-kinesis-client-nodejs
Is it possible for KCL to drop records?
- Dominant language
- JavaScript
- Stars
- 304
- Forks
- 198
- Avg merge
- 36m
- Merged PRs (30d)
- 2
Description
Tried asking on [StackOverflow](https://stackoverflow.com/questions/72052342/aws-kinesis-consumer-library-kcl-confused-on-when-records-might-be-dropped) but got no answer, perhaps one of the core maintainers can comment.
Basically AWS docs say that there are times where KCL can drop records if it receives an error. Whichever way we crash our node app, it just restarts with the same checkpoint as before, thus not dropping records.
What's the scenario where it can drop records? How do we replicate it? For our application it's paramount we don't, so if that scenario exists need to build in protection.
PS note we're already handling failures on the producer side, this is for the consumer specifically.
Would really appreciate feedback 🙏
Contributor guide
Research direction
No files, tests, or entry points are named. Start by reviewing the AWS documentation and the KCL consumer checkpoint behavior described in the issue, then establish a reproducible consumer-side failure scenario and document what happens to records and how an application can protect against loss.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript, node.js
- Domain
- stream-processing
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100