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

fix Kinesis GetRecords on empty streams #6516

Merged
merged 2 commits into from
Jul 25, 2022

Conversation

alexrashed
Copy link
Member

This PR addresses an issue with Kinesis when performing GetRecords on empty streams.
It does so by checking if the content from kinesis-mock is empty, and if so, forward a string representation of an empty JSON.

Fixes #6504

@alexrashed alexrashed requested a review from whummer July 25, 2022 08:03
@alexrashed alexrashed temporarily deployed to localstack-ext-tests July 25, 2022 08:03 Inactive
Copy link
Member

@whummer whummer left a comment

Choose a reason for hiding this comment

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

Good catch, LGTM @alexrashed 👍

@github-actions
Copy link

LocalStack integration with Pro

       3 files         3 suites   1h 7m 28s ⏱️
1 130 tests 1 090 ✔️ 40 💤 0
1 447 runs  1 378 ✔️ 69 💤 0

Results for commit 525ab7a.

@alexrashed alexrashed temporarily deployed to localstack-ext-tests July 25, 2022 09:38 Inactive
@alexrashed alexrashed merged commit 514108b into master Jul 25, 2022
@alexrashed alexrashed deleted the fix-kinesis-get-records-empty-stream branch July 25, 2022 09:39
@localstack localstack locked and limited conversation to collaborators Jul 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: AWS Kinesis get-records fails with a JSONDecodeError
2 participants