-
Notifications
You must be signed in to change notification settings - Fork 440
Is not possible to specify extra configurations like the timeout for AWS SDK Client #1213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Does adding timeout to the config solve your issue ? |
eortiz-tracktik
added a commit
to eortiz-tracktik/enqueue-dev
that referenced
this issue
Nov 16, 2021
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue#1213
eortiz-tracktik
added a commit
to eortiz-tracktik/enqueue-dev
that referenced
this issue
Nov 16, 2021
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue#1213
eortiz-tracktik
added a commit
to eortiz-tracktik/enqueue-dev
that referenced
this issue
Nov 17, 2021
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue#1213
eortiz-tracktik
added a commit
to eortiz-tracktik/enqueue-dev
that referenced
this issue
Nov 17, 2021
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue#1213
eortiz-tracktik
added a commit
to eortiz-tracktik/enqueue-dev
that referenced
this issue
Nov 17, 2021
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue#1213
eortiz-tracktik
added a commit
to eortiz-tracktik/enqueue-dev
that referenced
this issue
Nov 18, 2021
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue#1213
makasim
pushed a commit
to php-enqueue/sqs
that referenced
this issue
Nov 19, 2021
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue/enqueue-dev#1213
makasim
pushed a commit
to php-enqueue/sns
that referenced
this issue
Nov 19, 2021
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue/enqueue-dev#1213
php-merlin
added a commit
to php-merlin/equ-dev
that referenced
this issue
Mar 21, 2024
This changes allow to set in the AWS Sdk client the http configurations: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http This will make possible to define custom `connect_timeout` and `timeout` to fail fast when the network is not relaible. Reported on php-enqueue/enqueue-dev#1213
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
andconnection_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.The text was updated successfully, but these errors were encountered: