feat: add consumer name in messenger.yaml

This commit is contained in:
Maël Gangloff 2025-10-29 00:04:34 +01:00
parent 1cbf334c23
commit b123d720f0
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -6,11 +6,15 @@ framework:
# https://symfony.com/doc/current/messenger.html#transport-configuration # https://symfony.com/doc/current/messenger.html#transport-configuration
async: async:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%' dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
options:
consumer: '%env(MESSENGER_CONSUMER_NAME)%'
retry_strategy: retry_strategy:
max_retries: 3 max_retries: 3
multiplier: 2 multiplier: 2
rdap_async: rdap_async:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%' dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
options:
consumer: '%env(MESSENGER_CONSUMER_NAME)%'
retry_strategy: retry_strategy:
delay: 1000 delay: 1000
multiplier: 2 multiplier: 2