Skip to content

[sqs] Support using a pre-configured SqsClient #443

Closed
@elazar

Description

@elazar

Currently, SqsConnectionFactory handles instantiating SqsClient and limits what settings are allowed.

For example, it doesn't presently support the http_handler setting, which is useful for logging the Guzzle requests and responses comprising communication between Enqueue and SQS.

I suspect that the easiest way to support more complex configurations would be to support having SqsConnectionFactory accept a pre-configured SqsClient instance for its $config parameter.

It looks like it may be possible to add this support using a custom connection factory implementation, but it would be nice to see it natively supported in the core SQS driver.

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