@@ -876,16 +876,24 @@ a running Redis server (^5.0).
876
876
A number of options can be configured via the DSN or via the ``options `` key
877
877
under the transport in ``messenger.yaml ``:
878
878
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 ``
886
886
in Redis (the
887
887
``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.
889
897
890
898
In Memory Transport
891
899
~~~~~~~~~~~~~~~~~~~
0 commit comments