Skip to content

Commit 44dbf5c

Browse files
committed
minor #11870 Documented redis transport new stream_max_entries option (Toflar)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead (closes #11870). Discussion ---------- Documented redis transport new stream_max_entries option Docs for symfony/symfony#31825 Commits ------- d1aa071 Documented redis transport new stream_max_entries option
2 parents dc5781b + d1aa071 commit 44dbf5c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

messenger.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -889,16 +889,21 @@ 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-
================== =================================== =======
892+
================== =================================== =========================
893893
Option Description Default
894-
================== =================================== =======
894+
================== =================================== =========================
895895
stream The Redis stream name messages
896896
group The Redis consumer group name symfony
897897
consumer Consumer name used in Redis consumer
898898
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
899899
in Redis (the
900900
``Redis::OPT_SERIALIZER`` option)
901-
================== =================================== =======
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+
================== =================================== =========================
902907

903908
In Memory Transport
904909
~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)