Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Is there a way to increase the no of listener threads for a queue? #497

Open
@ranjitaneesh

Description

@ranjitaneesh

Question

I wanted to know if there is a way to increase the no of listener threads that are listening for messages in the queue.
I see that we can configure the no of worker threads that process the messages but my question is specifically for the listener threads.
I stumbled at this question while doing some performance tests in my system where I use a single instance annotated with @SQSListenter, i observed that even if I increase the no of core pool size to 20 or more, there are only only 10 messages in flight at max on the SQS Queue.
This brought me to the question of whether there is only a single listener thread which is retrieving messages from the SQS queue and how do I increase it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions