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

source-kinesis: logging if getting a shard iterator fails #2149

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

williamhbaker
Copy link
Member

@williamhbaker williamhbaker commented Nov 14, 2024

Description:

Currently an error for getting a shard iterator is just swallowed entirely. We should probably fail the capture when this happens, but as a really low-effort debugging benefit we can at least log these errors if they happen.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

(anything that might help someone review this PR)


This change is Reviewable

Currently an error for getting a shard iterator is just swallowed entirely. We
should probably fail the capture when this happens, but as a really low-effort
debugging benefit we can at least log these errors if they happen.
Copy link
Member

@travjenkins travjenkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@Alex-Bair Alex-Bair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@williamhbaker williamhbaker merged commit ffbf02a into main Nov 14, 2024
52 of 53 checks passed
@williamhbaker williamhbaker deleted the wb/kinesis-logs branch November 14, 2024 22:22
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.

3 participants