Closed chrislbs closed 5 years ago
Going to cc @simong as he did most of the original work.
The test above didn't properly address the issue. It turns out the issue was actually with the behavior of specifying a requestAttemptId with a FIFO queue. I've opend pull request #155 that addresses the issue. I'm not sure if it is the best idiomatic implementation as I don't really know Scala but it was a relatively simple fix once I understood how everything plugged together.
Closing as #155 resolved the issue and was merged.
We're using elasticmq to mock the SQS service for our java application. We're using the Java JMS AWS SDK which uses long polling 'WaitTimeSeconds=20 ' to prefetch messages for processing. We noticed during our tests that the time from message sent -> message received that it would take upwards of 15 seconds (or sometimes not at all) for us to get an answer on FIFO queues but standard queues always seemed pretty snappy e.g. < 1 second. I'm not familiar enough with Scala or Akka to really tackle this issue and understand what's causing the problem but I wrote a test that at least simulates the behavior I'm seeing.