elasticmq icon indicating copy to clipboard operation
elasticmq copied to clipboard

Mimic new SQS FiFo feature

Open barat opened this issue 9 years ago • 6 comments

Hi,

Since Amazon introduced FiFo in SQS I have a question. Do You plan to add such feature, or just allow/validate new message parameters for dev purposes?

barat avatar Jan 25 '17 10:01 barat

No plans for now, but PRs are always welcome - I just merged & released support for dead letter queues :)

adamw avatar Jan 25 '17 12:01 adamw

So if I understand this correctly, even though I can configure a queue as fifo = true it won't actually behave any differently as a standard queue as it relates to message ordering?

mclark1129 avatar Sep 18 '18 16:09 mclark1129

Is there a plan for this now? Having local AWS SQS Fifo Queue would be very nice for test purposes.

osmanpontes avatar Aug 12 '19 18:08 osmanpontes

Hi @osmanpontes, FIFO support was introduced in 0.14.0 (#143) and has been slowly improved in later releases. Although the README doesn't call it out explicitly, FIFO should be supported (including message deduping and ordering). Is there anything that's not functioning as you would expect?

simong avatar Aug 13 '19 09:08 simong

I was using this docker container: https://hub.docker.com/r/roribio16/alpine-sqs/. I checked it's using v0.14.6. In Dockerfile it runs this curl -sL https://api.github.com/repos/adamw/elasticmq/releases/latest | jq -r .tag_name which returns v0.14.6. The queue was missing some sent messages. But I don't have a reproducible code now. I changed my application tests to use SQS in AWS infrastructure instead of a mocked version. On weekend I can try it again and open an appropriated issue.

Thanks for the fast answer @simong !

osmanpontes avatar Aug 13 '19 19:08 osmanpontes

I believe this has been implemented for some time now.

adamw avatar Nov 04 '20 15:11 adamw