The dlq check is naive, and appends -dlq to the end of the queue name.
However, fifo queues require to have the .fifo suffix, and thereby the final queue name becomes foo-bar.fifo-dlq which is an invalid queue name.
|
dlqName := infra.cfg.AWSSQS.Topic + "-dlq" |
I think the correct solution is to allow the end user to configure the name of all queues via config and/or env, and thereby don't need to have this check at all.
The dlq check is naive, and appends
-dlqto the end of the queue name.However, fifo queues require to have the
.fifosuffix, and thereby the final queue name becomesfoo-bar.fifo-dlqwhich is an invalid queue name.outpost/internal/mqinfra/awssqs.go
Line 87 in 732545e
I think the correct solution is to allow the end user to configure the name of all queues via config and/or env, and thereby don't need to have this check at all.