Skip to content

bug: FIFO SNS topic to FIFO SQS queue fan-out does not produce same order in subscribed queues #12276

@dkales

Description

@dkales

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The setup is the following:

  • 1 SNS topic, FIFO=true
  • 3 SQS queues, FIFO=true, all subscribed to above topic

We do the following

  • Publish 100 messages to SNS topic
  • Receive 100 messages from all 3 queues

The three resulting message vectors are not equal to each other, as they contain messages in different order

Expected Behavior

The order of messages in the three SQS queues should be equal to each other.

How are you starting LocalStack?

With a docker run command

Steps To Reproduce

https://github.com/dkales/fifo-example contains a reproduction with a client binary + awslocal commands for setup.

Environment

LocalStack version: 4.1.1
LocalStack build date: 2025-02-05
LocalStack build git hash: 873d150c0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

aws:snsAmazon Simple Notification Servicestatus: resolved/fixedResolved with a fix or an implementationtype: bugBug report

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions