golem-ai / messenger-kit
Installs: 9 596
Dependents: 0
Suggesters: 0
Security: 0
Stars: 28
Watchers: 6
Forks: 0
Open Issues: 0
Requires
- php: ^7.4 || ^8.0
- nesbot/carbon: ^2.0
- symfony/console: ^5.1 || ^6.0
- symfony/messenger: ^5.1 || ^6.0
Requires (Dev)
- jangregor/phpstan-prophecy: ^1.0
- phpspec/prophecy-phpunit: ^2.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-strict-rules: ^1.1
- phpstan/phpstan-symfony: ^1.1
- phpunit/php-code-coverage: ^9.2
- phpunit/phpunit: ^7.0 || ^8.0 || ^9.0
- symfony/framework-bundle: ^5.1 || ^6.0
- symplify/easy-coding-standard: ^9.3
README
golem-ai:messenger-kit:simulator
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.
Installation
Require the package:
composer require golem-ai/messenger-kit
Enable the bundle in config/bundles.php
:
GolemAi\MessengerKit\Bundle\GolemAiMessengerKitBundle::class => ['all' => true],
Golem.ai - Hiring
We are looking for a Staff Backend Engineer to empower our unique symbolic NLU AI.