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

feat: add streaming support on JSON RPC parser #2906

Merged
merged 1 commit into from
May 6, 2024

Conversation

yenfryherrerafeliz
Copy link
Contributor

@yenfryherrerafeliz yenfryherrerafeliz commented Apr 1, 2024

Add event streaming capabilities on the JSON RPC parser, so that operations such as StartLiveTail from CloudwatchLogs are properly handled/parsed. This change also includes an extension of the DecodingEventStreamIterator for handling streamable responses where the stream as response is not seekable, and a handling for when the event-type is `initial-response

Issue #, if available:

Description of changes:

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

@yenfryherrerafeliz yenfryherrerafeliz force-pushed the feat_json_rpc_impl branch 2 times, most recently from fec21db to 44ba478 Compare April 1, 2024 15:49
src/Api/Parser/DecodingEventStreamIterator.php Outdated Show resolved Hide resolved
src/Api/Parser/DecodingEventStreamIterator.php Outdated Show resolved Hide resolved
src/Api/Parser/DecodingEventStreamIterator.php Outdated Show resolved Hide resolved
src/Api/Parser/DecodingEventStreamIterator.php Outdated Show resolved Hide resolved
src/CloudWatchLogs/CloudWatchLogsClient.php Outdated Show resolved Hide resolved
src/CloudWatchLogs/CloudWatchLogsClient.php Outdated Show resolved Hide resolved
src/CloudWatchLogs/CloudWatchLogsClient.php Outdated Show resolved Hide resolved
@yenfryherrerafeliz yenfryherrerafeliz force-pushed the feat_json_rpc_impl branch 5 times, most recently from 0eff7b3 to c170035 Compare April 3, 2024 16:26
@yenfryherrerafeliz yenfryherrerafeliz force-pushed the feat_json_rpc_impl branch 2 times, most recently from 9867361 to 76649a2 Compare April 11, 2024 23:13
@yenfryherrerafeliz yenfryherrerafeliz marked this pull request as ready for review April 11, 2024 23:13
@yenfryherrerafeliz yenfryherrerafeliz force-pushed the feat_json_rpc_impl branch 3 times, most recently from 927d7fb to 61a7ee8 Compare April 30, 2024 15:53
Copy link
Member

@stobrien89 stobrien89 left a comment

Choose a reason for hiding this comment

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

:shipit: Just make sure to run the smoke and integ tests. Also, add a changelog entry.

@yenfryherrerafeliz yenfryherrerafeliz changed the title feat: add JSON RPC protocol support feat: add streaming support on JSON RPC parser May 3, 2024
Add event streaming capabilities on the JSON RPC parser, so that operations such as StartLiveTail from CloudwatchLogs are properly handled/parsed. This change also includes an extension of the DecodingEventStreamIterator for handling streamable responses where the stream as response is not seekable, and a handling for when the `event-type` is `initial-response`.
@stobrien89 stobrien89 merged commit 92abbf2 into aws:master May 6, 2024
18 checks passed
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.

2 participants