Repository navigation
Add a Nexus serialization context sample - #540
Draft
litlep-nibbyt wants to merge 7 commits into
Draft
litlep-nibbyt wants to merge 7 commits into
litlep-nibbyt wants to merge 7 commits into
Conversation
This reverts commit f3ef802.
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.
Add a Nexus serialization context sample with synchronous and workflow-backed asynchronous operations through four endpoints.
Two handler workers each serve two endpoints with distinct AES-GCM keys. One compresses before encrypting; the other encrypts only. The caller uses a separate key for its workflow input and final result. Backing workflow inputs use the handler's key 1, while async results use the endpoint's key and compression.
The codec uses the SDK's per-call context argument and keeps shared configuration read-only. The README follows the Java walkthrough, and CI runs the sample tests with the pinned server build.
Validation: eight sample tests, root build/lint/format, and all 22 selected project test commands pass locally. The README walkthrough and Java interoperability in both directions pass.
Java counterpart: merged Java sample (PR #815).