From 5909d28a352cd80f8e856b6e67e7aed444546f43 Mon Sep 17 00:00:00 2001 From: "David W. Dougherty" Date: Mon, 28 Jul 2025 08:45:53 -0700 Subject: [PATCH 1/2] DEV: a better explanation for the XCLAIM RETRYCOUNT option --- content/commands/xclaim.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/commands/xclaim.md b/content/commands/xclaim.md index e309cd6e9f..1c0418022e 100644 --- a/content/commands/xclaim.md +++ b/content/commands/xclaim.md @@ -129,7 +129,7 @@ useful to normal users: 1. `IDLE `: Set the idle time (last time it was delivered) of the message. If IDLE is not specified, an IDLE of 0 is assumed, that is, the time count is reset because the message has now a new owner trying to process it. 2. `TIME `: This is the same as IDLE but instead of a relative amount of milliseconds, it sets the idle time to a specific Unix time (in milliseconds). This is useful in order to rewrite the AOF file generating `XCLAIM` commands. -3. `RETRYCOUNT `: Set the retry counter to the specified value. This counter is incremented every time a message is delivered again. Normally `XCLAIM` does not alter this counter, which is just served to clients when the XPENDING command is called: this way clients can detect anomalies, like messages that are never processed for some reason after a big number of delivery attempts. +3. `RETRYCOUNT ` : Set the retry counter to the specified value. If not set, `XCLAIM` will increment the retry counter every time a message is delivered again. 4. `FORCE`: Creates the pending message entry in the PEL even if certain specified IDs are not already in the PEL assigned to a different client. However the message must be exist in the stream, otherwise the IDs of non existing messages are ignored. 5. `JUSTID`: Return just an array of IDs of messages successfully claimed, without returning the actual message. Using this option means the retry counter is not incremented. From adac51ac61364a392c8ad3d4948be565c4812754 Mon Sep 17 00:00:00 2001 From: David Dougherty Date: Mon, 28 Jul 2025 11:12:13 -0700 Subject: [PATCH 2/2] Fix space issue --- content/commands/xclaim.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/commands/xclaim.md b/content/commands/xclaim.md index 1c0418022e..6ce57475e9 100644 --- a/content/commands/xclaim.md +++ b/content/commands/xclaim.md @@ -129,7 +129,7 @@ useful to normal users: 1. `IDLE `: Set the idle time (last time it was delivered) of the message. If IDLE is not specified, an IDLE of 0 is assumed, that is, the time count is reset because the message has now a new owner trying to process it. 2. `TIME `: This is the same as IDLE but instead of a relative amount of milliseconds, it sets the idle time to a specific Unix time (in milliseconds). This is useful in order to rewrite the AOF file generating `XCLAIM` commands. -3. `RETRYCOUNT ` : Set the retry counter to the specified value. If not set, `XCLAIM` will increment the retry counter every time a message is delivered again. +3. `RETRYCOUNT `: Set the retry counter to the specified value. If not set, `XCLAIM` will increment the retry counter every time a message is delivered again. 4. `FORCE`: Creates the pending message entry in the PEL even if certain specified IDs are not already in the PEL assigned to a different client. However the message must be exist in the stream, otherwise the IDs of non existing messages are ignored. 5. `JUSTID`: Return just an array of IDs of messages successfully claimed, without returning the actual message. Using this option means the retry counter is not incremented.