Skip to content

[Messenger] Redis example with Unix Socket #12924

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

Merged
merged 1 commit into from
Jan 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Messenger] Redis example with Unix Socket
This is the documentation change for symfony/symfony#35295
  • Loading branch information
JJarrie authored Jan 10, 2020
commit 13af1948740eb853f9ca22a49b55c3d5381e5356
2 changes: 2 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,8 @@ The Redis transport uses `streams`_ to queue messages.
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
# Full DSN Example
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0
# Unix Socket Example
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock

To use the Redis transport, you will need the Redis PHP extension (>=4.3) and
a running Redis server (^5.0).
Expand Down