Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for starting position AT_TIMESTAMP to MSK events
- Resolves #12033 - Add support for a StartingPosition of AT_TIMESTAMP to MSK event source mappings. When this configuration is used, StartingPositionTimestamp must also be provided, in Unix Time seconds, which is consistent with the existing support in the `kafka` event - Support for this starting position has recently been added to AWS Lambda event source mappings using MSK (https://aws.amazon.com/about-aws/whats-new/2023/06/aws-lambda-starting-timestamp-kafka-sources/) - Since `runServerless` tests are expensive, test the happy path in the existing test of a valid configuration rather than adding an explicit separate test for it, but add a new test to explicitly verify the unhappy path in which a timestamp at which to start is not provided
- Loading branch information
1 parent
a50773b
commit d8a3722
Showing
4 changed files
with
59 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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