zio-sqs
zio-sqs copied to clipboard
#259: Added function to allow processing messages at least once
Is it not possible to test it with elasticmq?
Also, the CI is failing, please check linting and compile errors 🙏
Tests with localstack pass in a few seconds and is the de facto standard in testing AWS, so happy to provide this instead (lower effort as I have it working) and will benefit other tests in here eventually 🙂
I will add the tests, and that will fix any issues, I just shared the idea to see if it indeed fits the needs of the use case before I progress further
I think it would be better for maintainability if all tests used the same backend (whether it's localstack or elasticmq) 😄
Regarding the original idea, I haven't used SQS since 2019 so I don't have much opinions on this anymore, I suggest you ask opinion on the zio Discord, there is a channel for zio-sqs and you might find other users there 👍
I have also left a comment in testcontainers-for-zio on this btw: https://github.com/scottweaver/testcontainers-for-zio/pull/41#issuecomment-1555972627
I see what you mean, I would expect it to be easy to transition tests to localstack given that ultimately all that is needed is a Layer providing a zio.aws.sqs.Sqs