Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Messenger][Redis] Add option to auto generate consumer #53528

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 7.3
Choose a base branch
from

Conversation

danielburger1337
Copy link
Contributor

@danielburger1337 danielburger1337 commented Jan 12, 2024

Q A
Branch? 7.1
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #51604
License MIT

I opened the above mentioned issue about 4 months ago.
In #53394 @AdamKatzDev , who seems to know a lot more about Redis than I do, also thinks that this is a good idea.

It looks like nobody has had a reason why this should not be a feature, so here it is.

Docs PR will be added when this looks good to merge.

@carsonbot carsonbot added this to the 7.1 milestone Jan 12, 2024
@OskarStark OskarStark changed the title [Messenger] Add option to auto generate Redis consumer [Messenger][Redis] Add option to auto generate consumer Jan 13, 2024
@OskarStark
Copy link
Contributor

Just asking, but wouldn't it be safer to add an option to the DSN ?generate_consumer_true ? Or is this not possible?

@danielburger1337
Copy link
Contributor Author

Just asking, but wouldn't it be safer to add an option to the DSN ?generate_consumer_true ? Or is this not possible?

This is technically possible. But since the consumer name is currently passed as path to the DSN, I think your approach wouldn't be intuitive because then two options/settings related to the consumer name would exist.

@xabbuh xabbuh modified the milestones: 7.1, 7.2 May 15, 2024
@fabpot fabpot modified the milestones: 7.2, 7.3 Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Messenger] Generated redis transport consumer name
5 participants