Skip to content

Is not possible to specify extra configurations like the timeout for AWS SDK Client #1213

@eortiz-tracktik

Description

@eortiz-tracktik

We are using enqueue with the symfony bundle and snsqs as the DSN.

AWS service are very reliable but we don't want to be affected by any possible network issues between our App and SNS, so we want to define some timeout and connection_timeout to the AWS Sdk client what is possible using the configuration:
https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http

Right now is impossible to specify those values because even if they are passed down to:

  • \Enqueue\Sns\SnsConnectionFactory::establishConnection()
  • \Enqueue\Sqs\SqsConnectionFactory::establishConnection()

because the configuration used to initialise the AWS Sdk is defined on these methods and only takes some specified parameters from $this->config ignoring others that may be set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions