Issue
My application is a message processing application and there is an requirment to send a message to a queue based on the date in the input message. It means I can not pre-configured rule to trigger an event, it should be at run-time based on the date in input message.
We are using quartz at the moment to create task and quartz executes these task based on configured time.
I want to avoid Quartz in AWS. How can I design this solution in AWS ?
Solution
Recently(10-Nov-2022) AWS launched a new service called EventBridge Scheduler. I hope this will fulfill all of your requirements and it's serverless too. So no need to worry about the infrastructure changes.
This is a kind of Comparison chart of EventBridge Scheduler vs EventBridge Rules taken from Introducing Amazon EventBridge Scheduler article.
References:-
- Introducing Amazon EventBridge Scheduler
- Amazon EventBridge Launches New Scheduler
- What is Amazon EventBridge Scheduler?
- How to Easily Trigger an AWS Event at a Specific Time with EventBridge Scheduler
Answered By - Kushan Gunasekera Answer Checked By - Katrina (WPSolving Volunteer)