Closed
Description
I’ve installed enqueue/sqs, enqueue/fs, and enqueue/simple-client via Composer.
When running:
$dsn = 'sqs:?key=aKey&secret=aSecret®ion=eu-west-1';
$client = new \Enqueue\SimpleClient\SimpleClient($dsn);
I get an exception:
Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
Unrecognized option "sqs:?key=aKey&secret=aSecret®ion=eu_west_1" under "enqueue.transport"
I’ve already checked whether the SQS broker exists, which is the case (var_dump(class_exists(\Enqueue\Sqs\SqsConnectionFactory::class))
yields bool(true)
).
I did notice that when I change the DSN to sqs://...
(so adding two slashes), I do not get the Symphony exception. However, then I get a "Failed to parse DSN" exception from SqsConnectionFactory, as it doesn’t expect those extra slashes