Conversation
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.
Description
This PR introduces meta-processing and migrates all processors to the meta-processing technique. "Meta processors" are any processors that execute other processors; this PR adds two:
The for_each processor replaces JSON array support in other processors, making this PR a breaking change that requires a new release.
This PR also includes these changes:
Motivation and Context
Meta-processing reduces complexity in other processors by removing direct JSON array support and opens up some new use cases. For example, it's now possible to decode complex binary structures entirely within JSON objects (e.g., a key-value that is base64 encoded gzipped data) and execute complex processors (e.g., DynamoDB, Lambda) on arrays of values.
How Has This Been Tested?
The two new processors have unit tests (and for_each has unit tests that execute every processor that used to support arrays).
Types of changes
Checklist: