-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
aws:sqsAmazon Simple Queue ServiceAmazon Simple Queue Servicestatus: backlogTriaged but not yet being worked onTriaged but not yet being worked ontype: bugBug reportBug report
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
AWS recently added new feature called Fair queue(for standard queue) which lowers dwell time and supports fair resource allocation when we have multi tenant traffic. In real AWS, you can pass a message-group-id (e.g., the tenant ID), but the latest LocalStack Pro doesn’t support this on non‑FIFO queues it actually panics when you do.
awslocal sqs send-message \
--queue-url https://sqs.eu-west-1.amazonaws.com/000000000000/test-queue-ci \
--message-body "test1" \
--message-group-id "tenant-1"
An error occurred (InvalidParameterValue) when calling the SendMessage operation: Value tenant-1 for parameter MessageGroupId is invalid. Reason: The request include parameter that is not valid for this queue type.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fair-queues.html
Expected Behavior
awslocal sqs send-message \
--queue-url https://sqs.eu-west-1.amazonaws.com/000000000000/test-queue-ci \
--message-body "test1" \
--message-group-id "tenant-1"
{
"MD5OfMessageBody": "dfdfdfdfddd",
"MessageId": "ssfdd-e148-4959-979f-dddd"
}
No response
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack
command, arguments, or docker-compose.yml
)
docker run localstack/localstack
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
awslocal sqs send-message \
--queue-url https://sqs.eu-west-1.amazonaws.com/000000000000/test-queue-ci \
--message-body "test1" \
--message-group-id "ten
An error occurred (InvalidParameterValue) when calling the SendMessage operation: Value tenant-1 for parameter MessageGroupId is invalid. Reason: The request include parameter that is not valid for this queue type.
Environment
- OS:
- LocalStack:
LocalStack version:
LocalStack Docker image sha:
LocalStack build date:
LocalStack build git hash:
Anything else?
No response
kpjensen, ryanmab and nsuzuki7713
Metadata
Metadata
Assignees
Labels
aws:sqsAmazon Simple Queue ServiceAmazon Simple Queue Servicestatus: backlogTriaged but not yet being worked onTriaged but not yet being worked ontype: bugBug reportBug report