-
Notifications
You must be signed in to change notification settings - Fork 13
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
[sc115424] add send messages by batch to sqs sdk #199
[sc115424] add send messages by batch to sqs sdk #199
Conversation
This pull request has been linked to Shortcut Story #115424: add send messages by batch to micronaut aws sqs sdk. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, just a minor thing: I think using the messagesList
for a Map
is not a good practice. can you rename it.
I think it would make sense to to also add the support into @QueueClient
declarative clients. e.g. by using @Batch
on a Map<String, Object>
parameters, what do you think?
another subject is if there is a need to backport the change also into AWS SDK v1 library. so far we were trying to keep these in sync.
...ain/java/com/agorapulse/micronaut/amazon/awssdk/sqs/groovy/SimpleQueueServiceExtensions.java
Show resolved
Hide resolved
Hi @musketyr, thanks for the review, I renamed the parameter and did the modification for the |
@mtakerrabet please, check this update to your PR: cd862c2. So the number of messages in the batch has its hard limit? In that case we can partition the messages directly in the introduced method. |
Thank you for the updates @musketyr, it looks good to me, |
add send messages by batch to to an aws sqs queue