Closed vgmello closed 1 year ago
Hi
Can you describe your scenario a bit more? With Lambda the settings related to receiving messages (like the queue prefix) are ignored because the input queue is governed by the Lambda settings.
@SzymonPobiega The QueueNamePrefix and the TopicNamePrefix are relevant for outgoing messages too. On top of that since the only way to group things in SQS within the same account is to use prefixes having the ability to specify a prefix would also influence for example these operations
I'm running into this same issue with version 1.0.0 of the NServiceBus.AwsLambda.SQS
package. prefixes aren't being respected which crashes lambda startup.
@evilpilaf do you get an error message of some kind or does the endpoint just fail to start?
@mikeminutillo I get an error message that says queue does not exist and the name of the queue/endpoint
FYI we are starting working on a bugfix for this issue.
This bug is fixed as part of the 1.1.1
and 1.0.1
patch releases which should be available soon. Thanks for reporting the issue!
The fix has been deployed in 1.1.1
and 1.0.1
.
Note: This issue description has been updated by Particular Software
Symptoms
When configuring a queue name prefix via the SQS transport configuration option, e.g.:
The AWS Lambda endpoint fails to start due to a missing queue. The endpoint tries to access a queue without the configured prefix and will fail if that queue doesn't exist.
If the queue exists, this will instead cause errors when trying to acknowledge the message after processing it.
Who's affected
Users of the
NServiceBus.AwsLambda.Sqs
package that configure a queue name prefix using theQueueNamePrefix
setting.Root cause
This issue is caused by the
AwsLambdaSQSEndpointConfiguration
not taking into account the specific SQS transport setting when trying to determine the input queue.Backported to
This bug has been backported to:
1.0.1
via https://github.com/Particular/NServiceBus.AwsLambda.Sqs/pull/313Original issue content
Hi,
I noticed that the QueueNamePrefix setting is not being used to initialize the AwsLambdaSQSEndpoint. Is this a known issue? Are there any plans to start considering the queue name prefix and potentially the topic name prefix (not tested) for lambda endpoint?
Tks Vitor M