Sample code for Workflow Streams#783
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
brianstrauch
requested review from
a team,
antmendoza and
tsurdilo
as code owners
June 12, 2026 17:12
# Conflicts: # build.gradle
SDK main now publishes 1.37.0-SNAPSHOT, and snapshots moved from oss.sonatype.org to central.sonatype.com when OSSRH was decommissioned. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Scenario 2 subscribes with a WorkflowStreamListener instead of iterating: two order workflows are consumed concurrently on one shared executor thread, with CompletionStage-based backpressure and done futures instead of a parked thread per subscription. Later scenarios renumbered, and the stale SDK snapshot note updated for the Central snapshots repository. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The temporal-workflowstreams module is now in the tagged 1.37.0 release on Maven Central, so drop the -SNAPSHOT pin and the snapshots repository. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
DABH
approved these changes
Jul 14, 2026
brianstrauch
enabled auto-merge (squash)
July 14, 2026 22:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
Adds a
workflowstreamssample demonstrating the experimentalio.temporal:temporal-workflowstreamscontrib module — a durable publish/subscribe log hosted inside a Temporal workflow. Mirrors the Go and Python workflow streams samples.Five scenarios:
Also adds a CODEOWNERS entry and a unit test.
🤖 Generated with Claude Code