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 @@ -1157,6 +1157,8 @@ group The Redis consumer group name symfony
1157
1157
consumer Consumer name used in Redis consumer
1158
1158
auto_setup Create the Redis group automatically? true
1159
1159
auth The Redis password
1160
+ delete_after_ack If ``true ``, messages are deleted false
1161
+ automatically after processing them
1160
1162
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP ``
1161
1163
in Redis (the
1162
1164
``Redis::OPT_SERIALIZER `` option)
@@ -1167,6 +1169,17 @@ stream_max_entries The maximum number of entries which ``0`` (which means "n
1167
1169
tls Enable TLS support for the connection false
1168
1170
================== ===================================== =========================
1169
1171
1172
+ .. tip ::
1173
+
1174
+ Set ``delete_after_ack `` to ``true `` (if you use a single group) or define
1175
+ ``stream_max_entries `` (if you can estimate how many max entries is acceptable
1176
+ in your case) to avoid memory leaks. Otherwise, all messages will remain
1177
+ forever in Redis.
1178
+
1179
+ .. versionadded :: 5.1
1180
+
1181
+ The ``delete_after_ack `` option was introduced in Symfony 5.1.
1182
+
1170
1183
In Memory Transport
1171
1184
~~~~~~~~~~~~~~~~~~~
1172
1185
You can’t perform that action at this time.
0 commit comments