Skip to content

Commit d1aa071

Browse files
Toflarjaviereguiluz
authored andcommitted
Documented redis transport new stream_max_entries option
1 parent dc5781b commit d1aa071

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)