Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Messenger] Add config optionarguments for amqp delay queues#17553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
thomasbeaujean wants to merge1 commit intosymfony:7.1
base:7.1
Choose a base branch
Loading
fromthomasbeaujean:amqp-connection-delay-arguments

Conversation

thomasbeaujean
Copy link

@thomasbeaujeanthomasbeaujean commentedDec 11, 2022
edited by OskarStark
Loading

Hi, this PR to allow to add extra arguments to the amqp delay queues that are automatically created.

@carsonbotcarsonbot added this to the6.3 milestoneDec 11, 2022
@OskarStarkOskarStark changed the title[Messenger] Add config option 'arguments' for amqp delay queues[Messenger] Add config optionarguments for amqp delay queuesDec 12, 2022
@javiereguiluzjaviereguiluz added the Waiting Code MergeDocs for features pending to be merged labelJan 23, 2024
@carsonbotcarsonbot modified the milestones:6.3,nextJan 23, 2024
@nicolas-grekas
Copy link
Member

Code merged in 7.1

nicolas-grekas added a commit to symfony/symfony that referenced this pull requestFeb 7, 2024
…lay queues (Thomas Beaujean)This PR was merged into the 7.1 branch.Discussion----------[Messenger][Amqp] Add config option 'arguments' for delay queues| Q             | A| ------------- | ---| Branch?       | 6.3| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       |Fix#44186#46254| License       | MIT| Doc PR        |symfony/symfony-docs#17553Hi, this PR to allow to add extra arguments to the amqp delay queues that are automatically created.The use case:- I do not know in advance the name of the queues (handled by env variables)- The queues are created automatically by symfony if needed- I need the deduplication plugin in both the queue and the associated delays queues (enabled with the x-message-deduplication argument)- I do not want to rewrite all delay arguments, I just want to be able to add or rewrite someThe associated configuration in messenger.yaml```        transports:            async:                dsn: '%env(MESSENGER_DSN)%'                options:                    queues:                        '%env(MESSENGER_ASYNC_QUEUE_NAME)%':                            arguments:                                x-queue-type: 'classic'                                x-message-deduplication: true                    delay:                        arguments:                            x-queue-type: 'classic'                            x-message-deduplication: true```Commits-------94ee8a2 [Messenger] Add config option 'arguments' for delay queues
symfony-splitter pushed a commit to symfony/amqp-messenger that referenced this pull requestFeb 7, 2024
…lay queues (Thomas Beaujean)This PR was merged into the 7.1 branch.Discussion----------[Messenger][Amqp] Add config option 'arguments' for delay queues| Q             | A| ------------- | ---| Branch?       | 6.3| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       | Fix #44186 #46254| License       | MIT| Doc PR        |symfony/symfony-docs#17553Hi, this PR to allow to add extra arguments to the amqp delay queues that are automatically created.The use case:- I do not know in advance the name of the queues (handled by env variables)- The queues are created automatically by symfony if needed- I need the deduplication plugin in both the queue and the associated delays queues (enabled with the x-message-deduplication argument)- I do not want to rewrite all delay arguments, I just want to be able to add or rewrite someThe associated configuration in messenger.yaml```        transports:            async:                dsn: '%env(MESSENGER_DSN)%'                options:                    queues:                        '%env(MESSENGER_ASYNC_QUEUE_NAME)%':                            arguments:                                x-queue-type: 'classic'                                x-message-deduplication: true                    delay:                        arguments:                            x-queue-type: 'classic'                            x-message-deduplication: true```Commits-------94ee8a22b5 [Messenger] Add config option 'arguments' for delay queues
@thomasbeaujeanthomasbeaujeanforce-pushed theamqp-connection-delay-arguments branch fromd90a84c to85aa210CompareFebruary 13, 2024 08:43
@thomasbeaujeanthomasbeaujean changed the base branch from6.3 to7.1February 13, 2024 08:43
@thomasbeaujean
Copy link
Author

Hi, I rebase this doc PR on 7.1 (code merged in 7.1)

@OskarStarkOskarStark removed the Waiting Code MergeDocs for features pending to be merged labelFeb 13, 2024
@epitre
Copy link
Contributor

@OskarStark@nicolas-grekas
this is not visible in 7.1 documentation :https://symfony.com/doc/current/messenger.html
image

Has it been merged/released ?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@xabbuhxabbuhAwaiting requested review from xabbuh

@OskarStarkOskarStarkAwaiting requested review from OskarStark

Assignees
No one assigned
Projects
None yet
Milestone
next
Development

Successfully merging this pull request may close these issues.

6 participants
@thomasbeaujean@nicolas-grekas@epitre@javiereguiluz@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp