-
| Java has an options that is explained here: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-throughput-horizontal-scaling-and-batching.html final AmazonSQS sqsClient = AmazonSQSClientBuilder.standard()
        .withClientConfiguration(new ClientConfiguration()
                .withMaxConnections(producerCount + consumerCount))
        .build();I could not find this option in the kotlin version. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            ianbotsf
          
      
      
        Sep 27, 2023 
      
    
    Replies: 1 comment 1 reply
-
| 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? | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        jadlr
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
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:
Does that address your needs?