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

Add support for history streaming #370

Merged
merged 5 commits into from
Jan 30, 2025
Merged

Add support for history streaming #370

merged 5 commits into from
Jan 30, 2025

Conversation

cgillum
Copy link
Member

@cgillum cgillum commented Jan 28, 2025

This PR adds support for history event streaming, which is a mechanism intended to unblock scenarios where the size of the orchestration instance history exceeds the gRPC message size limit. It assumes that the backend service that implements the gRPC protocol supports a newly added supportsHistoryStreaming feature. The corresponding protobuf change is here: microsoft/durabletask-protobuf#30.

This PR also removes our use of submodules and replaces it with a script that downloads the latest protobuf files locally. This is to make the management of the protobuf files easier and more maintainable.

Add support for history streaming.
src/Grpc/Grpc.csproj Outdated Show resolved Hide resolved
src/Grpc/refresh-protos.ps1 Outdated Show resolved Hide resolved
src/Worker/Grpc/GrpcDurableTaskWorker.Processor.cs Outdated Show resolved Hide resolved
src/Worker/Grpc/GrpcDurableTaskWorker.Processor.cs Outdated Show resolved Hide resolved
@cgillum cgillum marked this pull request as ready for review January 29, 2025 01:02
@cgillum cgillum requested a review from YunchuWang January 29, 2025 20:48
@cgillum cgillum merged commit 5676d0c into main Jan 30, 2025
4 checks passed
@cgillum cgillum deleted the cgillum/update-protos branch January 30, 2025 05:02
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