Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up in-memory state of deleted kinesis stream in MultiStreamMode #1056

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

abhit17
Copy link
Contributor

@abhit17 abhit17 commented Mar 3, 2023

Issue #, if available:

This change fixes the bug wherein in multi stream mode, if any particular stream is deleted in Kinesis it is cleaned from KCL's in-memory state. This reduces the recurring calls to Kinesis API's to try to get information about deleted stream which result in ResourceNotFoundException.

This increase calls are specifically affecting in case where we have deferred lease deletion mode.

Rebased with recent merges, prev pull request : #1022

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@abhit17 abhit17 merged commit 27b166c into awslabs:master Mar 8, 2023
@abhit17 abhit17 deleted the dev_stale_stream_cleanup branch March 8, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants