Skip to content

Is there a way to set max connections on the SQS client? #1056

Answered by ianbotsf
jadlr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jadlr. The AWS SDK for Kotlin does not support explicit configuration of maximum connections due to limitations in the underlying default HTTP engine (OkHttp). That said, it is possible to configure concurrency during client initialization:

val sqs = SqsClient {
    httpClient {
        maxConcurrency = 64u
    }
}

Does that address your needs?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jadlr
Comment options

Answer selected by jadlr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants