You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application using SQS, and i'd like to consume/process it from different threads ...
but after the msgs are in flight, the other threads cant fetch new msgs
Looking at the docs ive found:
Note: The first function called (for each distinct AWS service namespace, e.g. amazonica.aws.ec2)
creates an Amazon*Client, which is effectively cached via memoization. Therefore, if you explicitly pass different credentials maps to different functions, you will effectively have different Clients.
I guess this is the reason behind it.. is there a way to use individual clients (or another proper solution) so each thread can process its own batch (of 10 msgs) ?
thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I have an application using SQS, and i'd like to consume/process it from different threads ...
but after the msgs are in flight, the other threads cant fetch new msgs
Looking at the docs ive found:
I guess this is the reason behind it.. is there a way to use individual clients (or another proper solution) so each thread can process its own batch (of 10 msgs) ?
thanks!
The text was updated successfully, but these errors were encountered: