The "Finding the correct values for Symfony Messenger failure strategy" article is a great resource to understand how the retry strategy configuration is used.
This command simulates consumer failures and prints a timeline of the events. It lets you check whether your retry strategy configuration does what you expect it to.
The command has a few options:
- Use
--fail-for '3 minutes'
to stop the failures after some time. - Use
--consumer-duration '6 minutes'
to make the "Consuming message" step take longer.
Require the package:
composer require golem-ai/messenger-kit
Enable the bundle in config/bundles.php
:
GolemAi\MessengerKit\Bundle\GolemAiMessengerKitBundle::class => ['all' => true],
We are looking for a Staff Backend Engineer to empower our unique symbolic NLU AI.