Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sqs): UUID lost via marshalling #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

56KBs
Copy link

@56KBs 56KBs commented Mar 16, 2023

The watermill message UUID was lost during publishing & subscribing to the message, because sqs.Message's MessageId should signify the Amazon message ID, not the watermill message UUID.

Use the metadata to store the UUID under the key _watermill_message_uuid.

Minor simplifications/pre-allocations of data for performance.

The watermill message UUID was lost during publishing & subscribing to the message, because sqs.Message's `MessageId` should signify the Amazon message ID, not the watermill message UUID.

Use the metadata to store the UUID under the key `_watermill_message_uuid`.

Minor simplifications/pre-allocations of data for performance.
@Mariscal6
Copy link
Contributor

The watermill message UUID was lost during publishing & subscribing to the message, because sqs.Message's MessageId should signify the Amazon message ID, not the watermill message UUID.

I think this is no longer happening, it was fixed on PR #14

Minor simplifications/pre-allocations of data for performance.

Adding the length on the attributes map will be probably an improvement, maybe we can add this in a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants