Skip to content

Commit 13b687b

Browse files
committed
Minor tweaks
1 parent 44dbf5c commit 13b687b

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

messenger.rst

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -889,21 +889,24 @@ a running Redis server (^5.0).
889889
A number of options can be configured via the DSN or via the ``options`` key
890890
under the transport in ``messenger.yaml``:
891891

892-
================== =================================== =========================
893-
Option Description Default
894-
================== =================================== =========================
895-
stream The Redis stream name messages
896-
group The Redis consumer group name symfony
897-
consumer Consumer name used in Redis consumer
898-
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
892+
================== =================================== =========================
893+
Option Description Default
894+
================== =================================== =========================
895+
stream The Redis stream name messages
896+
group The Redis consumer group name symfony
897+
consumer Consumer name used in Redis consumer
898+
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
899899
in Redis (the
900900
``Redis::OPT_SERIALIZER`` option)
901-
stream_max_entries The maximum number of entries which 0 (= no trimming)
902-
the stream will be trimmed to. Be
903-
careful with the configured number
904-
because it might cause a loss of
905-
pending messages
906-
================== =================================== =========================
901+
stream_max_entries The maximum number of entries which ``0`` (which means "no trimming")
902+
the stream will be trimmed to. Set
903+
it to a large enough number to
904+
avoid losing pending messages
905+
================== =================================== =========================
906+
907+
.. versionadded:: 4.4
908+
909+
The ``stream_max_entries`` option was introduced in Symfony 4.4.
907910

908911
In Memory Transport
909912
~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)