From d1aa07153dd63d343d9768919808a44b7b127340 Mon Sep 17 00:00:00 2001 From: Yanick Witschi Date: Wed, 3 Jul 2019 09:18:47 +0200 Subject: [PATCH] Documented redis transport new stream_max_entries option --- messenger.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/messenger.rst b/messenger.rst index db280b9cc4d..bd57e14f5e4 100644 --- a/messenger.rst +++ b/messenger.rst @@ -889,16 +889,21 @@ a running Redis server (^5.0). A number of options can be configured via the DSN or via the ``options`` key under the transport in ``messenger.yaml``: -================== =================================== ======= +================== =================================== ========================= Option Description Default -================== =================================== ======= +================== =================================== ========================= stream The Redis stream name messages group The Redis consumer group name symfony consumer Consumer name used in Redis consumer serializer How to serialize the final payload ``Redis::SERIALIZER_PHP`` in Redis (the ``Redis::OPT_SERIALIZER`` option) -================== =================================== ======= +stream_max_entries The maximum number of entries which 0 (= no trimming) + the stream will be trimmed to. Be + careful with the configured number + because it might cause a loss of + pending messages +================== =================================== ========================= In Memory Transport ~~~~~~~~~~~~~~~~~~~