Skip to content

Feature request: Parser, SNS envelope: Add messageId to parsed event #3323

@Twonky-Chris

Description

@Twonky-Chris

Use case

The Parser returns only the parsed Message. It would be very helpful to also have the messageId in hand, for example, for error handling, especially as item identifier for batchItemFailures.

Solution/User Experience

maybe like this:

.use(
parser({ schema: validator, envelope: SnsSqsEnvelope, options: {returnMessageId: true })
)

Alternative solutions

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestThis item refers to a feature request for an existing or new utilityparserThis item relates to the Parser UtilityrejectedThis is something we will not be working on. At least, not in the measurable future

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions