softwaremill / softwaremill/elasticmq
Limit for number of inflight messages
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 2.9k
- Forks
- 203
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
In SQS, com.amazonaws.services.sqs.model.OverLimitException is thrown when the maximum number of inflight messages is reached during 'ReceiveMessage'. By default this is ~120000 inflight messages. You can increase this by submitting a request to Amazon.
It seems that ElasticMQ does not have this limit.
Sometimes it is required to test what will happen when that limit is reached, and ElasticMq does not have this feature.
Proposal: Expose a property that will manage the number of inflight messages. The value of this property will be from 1 to Integer.MAX_VALUE. Default will be 120000!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the ReceiveMessage handling for ElasticMQ's SQS interface and trace how inflight messages are tracked. Identify the configuration entry point and existing tests for message receiving, then add coverage for the configured limit and its default. Done means reaching the limit produces the expected SQS behavior while values up to Integer.MAX_VALUE remain supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, scala
- Domain
- backend, cloud, distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100