symfony-messenger-sqs icon indicating copy to clipboard operation
symfony-messenger-sqs copied to clipboard

The service "Bref\Messenger\Sqs\SqsTransportFactory" has a dependency on a non-existent service "Aws\Sqs\SqsClient".

Open hackzilla opened this issue 5 years ago • 1 comments

After following the instructions, I ended up with an error about non-existent service.

The service "Bref\Messenger\Sqs\SqsTransportFactory" has a dependency on a non-existent service "Aws\Sqs\SqsClient".

I've realised that I needed to configure it myself and it might help others if this was included in the readme.

Aws\Sqs\SqsClient:
     arguments:
          - { version: latest, region: eu-west-2, credentials: { key: xxx, secret: xxx } }

I believe that credentials is optional, if you have credentials stores in ~/.aws/credentials

hackzilla avatar Mar 13 '20 11:03 hackzilla

Good catch!

We are in the process of moving this to https://github.com/brefphp/symfony-messenger I recommend you use the new repository instead.

mnapoli avatar Mar 13 '20 20:03 mnapoli