Repository navigation
Conversation
This was referenced Nov 24, 2026
nvasiu
force-pushed
the
feat/distributed-map-results
branch
from
December 4, 2026 22:35
0de4e34 to
fe091c4
Compare
Add the records for the JSON the service sends to a processor or reader Lambda and the responses it expects back. Each event checks its own fields when it is read.
nvasiu
force-pushed
the
feat/distributed-map-wire-types
branch
from
December 4, 2026 22:35
ec9537b to
3c2216a
Compare
This branch has not been deployed
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.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue Link, if available
#912
Description
Adds the events the service sends to a processor or reader Lambda, and the responses it expects back. PR 3 of 6 (see the issue). It needs no new Lambda model and depends on PR 1 (#915), for
DistributedMapError.dmap/ProcessorEvent,ProcessorRecordandReaderEvent: the events the service sends to a processor or reader Lambda.ItemHandlerResponse,ItemResult,ItemFailureandReaderResponse: the responses the service expects back.sdk/pom.xmlaws-lambda-java-serializationdependency, so a test checks that the Lambda runtime's own serializer reads the events.Demo/Screenshots
N/A
Design
See Rules for every change.
+151lines insrc/mainand+312insrc/test.dmap/.Assumptions
Each assumption about the service, Lambda, the runtime or another library, with its evidence, or marked "unverified" (rule 6):
distributedMapRunArnand arecordslist, each record holding a non-empty stringitemIdand abodythe customer's serdes decodes. Unverified.itemIdthe processor echoes, and accepts the batch-failure and item-outcome response shapes. Unverified.distributedMapRunArn, an integermaxItemsPerPage, andstateas the reader last returned it. Unverified.Decisions not covered by the issue or the design note
One line each, with the reason (rule 7):
Checklist
Testing
Unit Tests
Have unit tests been written for these changes?
Yes. One test class per record in
dmap/, checking the validation and the JSON each response writes.Integration Tests
Have integration tests been written for these changes?
No.
LocalDurableTestRunnerdoes not support distributed map yet.Examples
Has a new example been added for the change? (if applicable)
No.