You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Trying to configure redis transport in messenger component via both framework bundle configuration framework.messenger.transports.*.options and query parameters in DSN leads to drop of options defined in framework.messenger.transports.*.options.
I have the same problem, it seem consumer, group and stream are lost because they are not query params in the DSN.
parse_str completely override $redisOptions
This PR was submitted for the 5.1 branch but it was merged into the 4.4 branch instead.
Discussion
----------
[Messenger] fix redis messenger options with dsn
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#39834
| License | MIT
This will fix the fact that you can use framework.messenger.transports.*.options to complete/default your redis configuration
Commits
-------
a0e7bf4 fix redis messenger options with dsn
Symfony version(s) affected: >=5.1.0
Description
Trying to configure redis transport in messenger component via both framework bundle configuration
framework.messenger.transports.*.options
and query parameters in DSN leads to drop of options defined inframework.messenger.transports.*.options
.How to reproduce
APP_REDIS_DSN
with query stringframework.messenger.transports.tasks.options
are lostPossible Solution
Replace this line with
Additional context
The text was updated successfully, but these errors were encountered: