Skip to content
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

Implement URL/DSN parsing for redis connection string (or incorporate predis/predis bundle to handle redis connection) #79

Open
pmcgoverncw opened this issue Dec 1, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@pmcgoverncw
Copy link

Currently there is no way to use a URL/DSN to define redis connection parameters, which is problematic in applications that use bundles such as predis or SNC Redis, which allow redis connection parameter definition via a dsn.

This request is to implement an option to define redis connection parameters as either separate values (as it is now in this bundle) OR as a single DSN.

Example of URL parsing used by predis/predis: https://github.com/predis/predis/blob/main/src/Connection/Parameters.php#L69

@pmcgoverncw
Copy link
Author

Another example is the snc/sncredisbundle dns parser: https://github.com/snc/SncRedisBundle/blob/master/DependencyInjection/Configuration/RedisDsn.php#L169

@LKaemmerling
Copy link
Member

Hey @pmcgoverncw,

good idea! If you want (and have time) feel free to submit a MR :)

@LKaemmerling LKaemmerling added the help wanted Extra attention is needed label Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants