{"repo":"mage-os/mageos-async-events","free":true,"listed":false,"github":"https://github.com/mage-os/mageos-async-events","clone":"git clone https://github.com/mage-os/mageos-async-events.git","description":"This is a Mage-OS repo for the porting of the Magento Asynchronous Events Project found at https://github.com/aligent/magento-async-events.","language":"PHP","stars":33,"topics":["adobecommerce","ecommerce","mage-os","magento","magento2"],"license":"MIT","category":"ecommerce","readme_excerpt":"Magento Asynchronous Events A framework for reliably handling asynchronous events with Magento. Asynchronous : The module uses RabbitMQ (or DB queues) to leverage asynchronous message delivery. Flexible : Decoupling events and dispatches provide greater flexibility in message modelling. Scalable : Handles back pressure and provides an asynchronous failover model automatically. Installation Install the module: Usage Define an asynchronous event Create a new async events.xml under a module's etc/ directory. Create a Subscription [!TIP] To view all available event sinks, check out Async Event Sinks HTTP Amazon EventBridge Requires the AWS Sinks package Dispatch an asynchronous event Ensure the following consumers are running Features Trace All events are logged at the individual subscription level with a UUID. All information from the first delivery attempt to the latest attempt is presented as a trace table. The event payload is also available to view for investigation purposes. Retries Events are automatically retried with quadratic back off. The default retry limit is 5. The maximum backoff is 60 seconds. [!IMPORTANT] RabbitMQ is required for retries with back off. If you are using DB queues then quadratic back off is not available, and you will have to implement your own \\MageOS\\AsyncEvents\\Api\\RetryManagementInterface The quadratic backoff is calculated as min(60, pow($deathCount, 2)); Attempt Backoff --------- ------------ 1 1 second 2 4 seconds 3 9 seconds 4 16 seconds 5 ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mage-os","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mage-os/mageos-async-events/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}