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

Modify End of Stream #51

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Modify End of Stream #51

merged 1 commit into from
Dec 19, 2023

Conversation

slinkydeveloper
Copy link
Contributor

Modify end of stream logic. This change simplifies the end of stream, to accommodate it for restatedev/restate#899, by introducing an explicit end of stream message. This is a breaking change, as now the stream cannot end anymore with only OutputStreamEntry. This message could also be used in future to pass metadata about the invocation, such as headers to pass back to the caller, diagnostic meta such as execution time, and so on.

@slinkydeveloper slinkydeveloper linked an issue Nov 27, 2023 that may be closed by this pull request
Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

The change itself looks good. Let's wait with merging this PR until we need it because it also requires changes in the SDKs.

@slinkydeveloper slinkydeveloper merged commit 5417fee into main Dec 19, 2023
2 checks passed
@slinkydeveloper slinkydeveloper deleted the issues/49 branch December 19, 2023 12:14
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.

Allow end of stream without OutputStreamEntry
2 participants