File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1046,6 +1046,8 @@ group The Redis consumer group name symfony
1046
1046
consumer Consumer name used in Redis consumer
1047
1047
auto_setup Create the Redis group automatically? true
1048
1048
auth The Redis password
1049
+ delete_after_ack If ``true ``, messages are deleted false
1050
+ automatically after processing them
1049
1051
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP ``
1050
1052
in Redis (the
1051
1053
``Redis::OPT_SERIALIZER `` option)
@@ -1056,6 +1058,17 @@ stream_max_entries The maximum number of entries which ``0`` (which means "n
1056
1058
tls Enable TLS support for the connection false
1057
1059
================== ===================================== =========================
1058
1060
1061
+ .. tip ::
1062
+
1063
+ Set ``delete_after_ack `` to ``true `` (if you use a single group) or define
1064
+ ``stream_max_entries `` (if you can estimate how many max entries is acceptable
1065
+ in your case) to avoid memory leaks. Otherwise, all messages will remain
1066
+ forever in Redis.
1067
+
1068
+ .. versionadded :: 5.1
1069
+
1070
+ The ``delete_after_ack `` option was introduced in Symfony 5.1.
1071
+
1059
1072
In Memory Transport
1060
1073
~~~~~~~~~~~~~~~~~~~
1061
1074
You can’t perform that action at this time.
0 commit comments