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

Appearance settings

symfony/messager: how to set-up Redis transport connection by the socket? #34682

Copy link
Copy link
Closed
@alebedev80

Description

@alebedev80
Issue body actions

I need to set-up connection to the Redis service by the socket. How to set-up DSN?

By the code allows only DSN with valid url Connection.php:

if (false === $parsedUrl = parse_url($dsn)) {
    throw new InvalidArgumentException(sprintf('The given Redis DSN "%s" is invalid.', $dsn));
}

So DSN like "redis:///var/run/redis/redis.sock" is invalid.
Is there any reason for that or is it an architectural flaw?

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureGood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)Help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.Messenger

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.