-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[Messenger] Add rediss:// DSN scheme support for TLS to Redis transport
#39607
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
[Messenger] Add rediss:// DSN scheme support for TLS to Redis transport
#39607
Conversation
jderusse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As said in #39599 (comment) we should not support 2 ways to define the same thing (?tls=true vs rediss://)
This could lead to inconsistency like rediss://localhost?tls=false ?
|
I agree. Lets see first which should be considered a "primary" one, so that the other one can be deprecated/removed. However, both |
src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php
Outdated
Show resolved
Hide resolved
592d0fd to
464f747
Compare
rediss:// schemerediss:// DSN scheme support for TLS to Redis transport
|
Can you please rebase to get rid of the conflicts? Thanks |
c7508fe to
3f19c28
Compare
|
@OskarStark Done |
src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php
Outdated
Show resolved
Hide resolved
nicolas-grekas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(with minor comments)
3f19c28 to
89c4308
Compare
dd83644 to
28e7b74
Compare
|
Thank you @njutn95. |
…cky) This PR was submitted for the 5.4 branch but it was squashed and merged into the 5.3 branch instead. Discussion ---------- [Messenger] Support rediss in transport bridge | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | Seems like support for `rediss` was added in the [main package](https://github.com/symfony/symfony/blob/e34cd7dd2c6d0b30d24cad443b8f964daa841d71/src/Symfony/Component/Messenger/Transport/TransportFactory.php#L46), but didn't propagate to the bridge Followed a trail from here - #39607 Commits ------- edfad64 [Messenger] Support rediss in transport bridge
This adds a support for
rediss://DSN (as discussed in #39599) and deprecates the use oftlsparameter introduced in #35503 so it can be standardized to single format.