Skip to content

Add external storage sample - #814

Merged
jmaeagle99 merged 3 commits into
mainfrom
extstore-sample
Nov 12, 2026
Merged

jmaeagle99 merged 3 commits into
mainfrom
extstore-sample

Conversation

@jmaeagle99

Copy link
Copy Markdown
Contributor

What was changed

  • Added an externalstorage sample: a workflow passes a large order list between two activities. ZlibPayloadCodec compresses each payload, and the S3 driver offloads any payload still over 256 KiB to S3.
  • Added a mock S3 server built on S3Proxy's in-memory store, so the sample runs without an AWS account or Docker.
  • Added temporal-payload-storage-s3driver-awssdkv2, software.amazon.awssdk:s3 and org.gaul:s3proxy to core. S3Proxy raises the resolved AWS SDK from 2.20.91 to 2.54.13 and logback from 1.5.6 to 1.6.3.
  • Set the org.gaul loggers to WARN, so the mock doesn't print S3Proxy's Jetty startup output.

Why?

It shows a complete working setup with the S3 driver, a payload codec, and a local S3 endpoint. The README shows which payloads end up in S3 and which stay in history, and how a codec changes what gets offloaded and what gets stored.

Checklist

  1. How was this tested: Ran the sample end to end against a dev server. The order list was offloaded to S3 and every other payload stayed inline.

  2. Any docs updates needed? No

@jmaeagle99
jmaeagle99 requested review from a team, antmendoza and tsurdilo as code owners November 10, 2026 23:28
@dplyukhin dplyukhin self-assigned this Nov 12, 2026
@dplyukhin dplyukhin removed their assignment Nov 12, 2026
@jmaeagle99
jmaeagle99 merged commit eb67b3d into main Nov 12, 2026
10 checks passed
@jmaeagle99
jmaeagle99 deleted the extstore-sample branch November 12, 2026 18:41
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.

4 participants