@@ -889,21 +889,24 @@ a running Redis server (^5.0).
889
889
A number of options can be configured via the DSN or via the ``options `` key
890
890
under the transport in ``messenger.yaml ``:
891
891
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 ``
899
899
in Redis (the
900
900
``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.
907
910
908
911
In Memory Transport
909
912
~~~~~~~~~~~~~~~~~~~
0 commit comments