Skip to content

Conversation

bentsku
Copy link
Contributor

@bentsku bentsku commented Apr 14, 2023

This is building on top of #8144 and #8146, and adds test and implement the deduplication for FIFO topics. Right now, we are just properly using the SQS deduplication features, but SNS one is a bit different regarding the MessageGroupId, see https://docs.aws.amazon.com/sns/latest/dg/fifo-message-dedup.html, the deduplication is at the topic level.
We are also not storing the deduplication ID yet, so we cannot return the proper MessageId and SequenceNumber from the publishing call, which we should do.

@bentsku bentsku changed the base branch from master to remove-sns-sqs-attrs-util April 14, 2023 18:19
@bentsku bentsku added the type: feature New feature, or improvement to an existing feature label Apr 14, 2023
@bentsku bentsku self-assigned this Apr 14, 2023
@bentsku bentsku added aws:sqs Amazon Simple Queue Service aws:sns Amazon Simple Notification Service labels Apr 14, 2023
@coveralls
Copy link

coveralls commented Apr 14, 2023

Coverage Status

Coverage: 81.997% (-0.01%) from 82.011% when pulling c109570 on sns-add-content-deduplication into b36c09e on sqs-deduplication-fix.

@bentsku bentsku force-pushed the sns-add-content-deduplication branch from 045b1a6 to f318e24 Compare April 14, 2023 18:52
@bentsku bentsku changed the base branch from remove-sns-sqs-attrs-util to sqs-deduplication-fix April 14, 2023 18:53
@bentsku bentsku requested a review from thrau April 14, 2023 18:53
@bentsku bentsku removed the aws:sqs Amazon Simple Queue Service label Apr 14, 2023
@bentsku bentsku force-pushed the sqs-deduplication-fix branch from e934f58 to b36c09e Compare April 14, 2023 20:35
@bentsku bentsku force-pushed the sns-add-content-deduplication branch from f318e24 to c109570 Compare April 14, 2023 20:35
@bentsku bentsku requested a review from baermat April 17, 2023 15:16
@thrau thrau force-pushed the sqs-deduplication-fix branch from b36c09e to 1410817 Compare April 17, 2023 16:23
@bentsku bentsku force-pushed the sqs-deduplication-fix branch 2 times, most recently from e7db0f0 to 2058b65 Compare April 18, 2023 08:14
Base automatically changed from sqs-deduplication-fix to master April 18, 2023 19:32
@bentsku bentsku force-pushed the sns-add-content-deduplication branch from c109570 to 95e65eb Compare April 18, 2023 19:36
@bentsku bentsku changed the title do not merge: SNS test and add deduplication for FIFO topic SNS test and add deduplication for FIFO topic Apr 18, 2023
@bentsku bentsku marked this pull request as ready for review April 18, 2023 20:23
@github-actions
Copy link

LocalStack Community integration with Pro

1 911 tests   1 706 ✔️  1h 16m 45s ⏱️
       2 suites     205 💤
       2 files           0

Results for commit 95e65eb.

Copy link
Member

@baermat baermat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@bentsku bentsku merged commit 19ef748 into master Apr 19, 2023
@bentsku bentsku deleted the sns-add-content-deduplication branch April 19, 2023 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws:sns Amazon Simple Notification Service type: feature New feature, or improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants