Skip to content

Documented redis transport new stream_max_entries option #11870

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
Jul 3, 2019
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
11 changes: 8 additions & 3 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -889,16 +889,21 @@ a running Redis server (^5.0).
A number of options can be configured via the DSN or via the ``options`` key
under the transport in ``messenger.yaml``:

================== =================================== =======
================== =================================== =========================
Option Description Default
================== =================================== =======
================== =================================== =========================
stream The Redis stream name messages
group The Redis consumer group name symfony
consumer Consumer name used in Redis consumer
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
in Redis (the
``Redis::OPT_SERIALIZER`` option)
================== =================================== =======
stream_max_entries The maximum number of entries which 0 (= no trimming)
the stream will be trimmed to. Be
careful with the configured number
because it might cause a loss of
pending messages
================== =================================== =========================

In Memory Transport
~~~~~~~~~~~~~~~~~~~
Expand Down