golem-ai/messenger-kit

0.2.0 2022-09-07 13:30 UTC

This package is auto-updated.

Last update: 2024-11-17 03:11:37 UTC


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.

Simulator Command

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.