sns-sqs-big-payload icon indicating copy to clipboard operation
sns-sqs-big-payload copied to clipboard

BatchRequest functionality in SQS Producer

Open samarthmaniar opened this issue 3 years ago • 1 comments

I already posted this as an idea within the discussions category but posting it here to make it more visible to the other folks.

I was very much impressed with this library and almost decided to use it for our use case which is similar to yours at Aspecto but we currently use SQS.sendMessageBatch function to send a batch of messages. I was wondering it would be nice to implement the same functionality within SQS Producer of this library so we can send messages to SQS in batches helping us with less no. of network calls/connections.

amazon-sqs-java-extended-client alredy supports this functionality - https://github.com/awslabs/amazon-sqs-java-extended-client-lib/blob/master/src/main/java/com/amazon/sqs/javamessaging/AmazonSQSExtendedClient.java#L759

Let me know your thoughts about this idea.

samarthmaniar avatar Apr 02 '21 21:04 samarthmaniar

Hi @samarthmaniar, thanks for reaching out! That sounds like a good idea, will you be open to contributing a PR with that functionality?

habmic avatar Apr 04 '21 06:04 habmic