softwaremill / elasticmq

In-memory message queue with an Amazon SQS-compatible interface. Runs stand-alone or embedded.
https://softwaremill.com/open-source/
Apache License 2.0
2.46k stars 193 forks source link

Trigger Events Based on Messages in Queue #941

Closed richardgetz closed 6 months ago

richardgetz commented 6 months ago

Is there any way currently, or a plan to add a way, to mimic SQS events to pass a message directly to a script similar to how SQS events work in AWS?

micossow commented 6 months ago

I'm not quite sure what you are referring to. AWS Lambda perhaps?

richardgetz commented 6 months ago

Yea if I were deploying to AWS and was using SQS and a Lambda I could set an event that would trigger the Lambda based on messages in the queue. Of course I can create a script that just checks the queue periodically, but is there a way to instead do this on the ElasticMQ side to better mimic message events locally?


From: Michał Ossowski @.> Sent: Saturday, December 16, 2023 4:37:23 AM To: softwaremill/elasticmq @.> Cc: Rick Getz @.>; Author @.> Subject: Re: [softwaremill/elasticmq] Trigger Events Based on Messages in Queue (Issue #941)

I'm not quite sure what you are referring to. AWS Lambda perhaps?

— Reply to this email directly, view it on GitHubhttps://github.com/softwaremill/elasticmq/issues/941#issuecomment-1858774347, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABYSC2IQK5WFWWKAQQ4BC53YJVTVHAVCNFSM6AAAAABAWSZYI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYG43TIMZUG4. You are receiving this because you authored the thread.Message ID: @.***>

micossow commented 6 months ago

Then the answer would be no. This project is simple in-memory queue with SQS API interface. If you need to test integration of two or more AWS components you can take a look at https://github.com/localstack/localstack project

richardgetz commented 6 months ago

Fair enough. Thanks!