@@ -876,16 +876,24 @@ a running Redis server (^5.0).
876876A number of options can be configured via the DSN or via the ``options `` key
877877under the transport in ``messenger.yaml ``:
878878
879- ================== =================================== =======
880- Option Description Default
881- ================== =================================== =======
882- stream The Redis stream name messages
883- group The Redis consumer group name symfony
884- consumer Consumer name used in Redis consumer
885- serializer How to serialize the final payload ``Redis::SERIALIZER_PHP ``
879+ ================== =================================== ================== =======
880+ Option Description Default
881+ ================== =================================== ================== =======
882+ stream The Redis stream name messages
883+ group The Redis consumer group name symfony
884+ consumer Consumer name used in Redis consumer
885+ serializer How to serialize the final payload ``Redis::SERIALIZER_PHP ``
886886 in Redis (the
887887 ``Redis::OPT_SERIALIZER `` option)
888- ================== =================================== =======
888+ stream_max_entries The maximum number of entries which ``0 `` (which means "no trimming")
889+ the stream will be trimmed to. Set
890+ it to a large enough number to
891+ avoid losing pending messages
892+ ================== =================================== =========================
893+
894+ .. versionadded :: 4.4
895+
896+ The ``stream_max_entries `` option was introduced in Symfony 4.4.
889897
890898In Memory Transport
891899~~~~~~~~~~~~~~~~~~~
0 commit comments