Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
doc updates
  • Loading branch information
jduo committed Jun 30, 2024
1 parent 239c347 commit cd5ef0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,13 @@ CompletableFuture<String> xgroupCreate(
*
* @see <a href="https://valkey.io/commands/xgroup-setid/">valkey.io</a> for details.
* @param key The key of the stream.
* @param groupName The newly created consumer group name.
* @param groupName The consumer group name.
* @param id The stream entry ID that should be set as the last delivered ID for the consumer
* group.
* @return <code>OK</code>.
* @example
* <pre>{@code
* // Create the consumer group "mygroup", and the stream if it does not exist, after the last ID
* // Update consumer group "mygroup", to set the last delivered entry ID.
* assert client.xgroupSetId("mystream", "mygroup", "0").get().equals("OK");
* }</pre>
*/
Expand All @@ -466,7 +466,7 @@ CompletableFuture<String> xgroupCreate(
* @since Redis 7.0 and above
* @see <a href="https://valkey.io/commands/xgroup-setid/">valkey.io</a> for details.
* @param key The key of the stream.
* @param groupName The newly created consumer group name.
* @param groupName The consumer group name.
* @param id The stream entry ID that should be set as the last delivered ID for the consumer
* group.
* @param entriesReadId An arbitrary ID (that isn't the first ID, last ID, or the zero ID (<code>
Expand All @@ -475,7 +475,7 @@ CompletableFuture<String> xgroupCreate(
* @return <code>OK</code>.
* @example
* <pre>{@code
* // Create the consumer group "mygroup", and the stream if it does not exist, after the last ID
* // Update consumer group "mygroup", to set the last delivered entry ID.
* assert client.xgroupSetId("mystream", "mygroup", "0", "1-1").get().equals("OK");
* }</pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3113,7 +3113,7 @@ public T xgroupDelConsumer(@NonNull String key, @NonNull String group, @NonNull
*
* @see <a href="https://valkey.io/commands/xgroup-setid/">valkey.io</a> for details.
* @param key The key of the stream.
* @param groupName The newly created consumer group name.
* @param groupName The consumer group name.
* @param id The stream entry ID that should be set as the last delivered ID for the consumer
* group.
* @return Command Response - <code>OK</code>.
Expand All @@ -3129,7 +3129,7 @@ public T xgroupSetId(@NonNull String key, @NonNull String groupName, @NonNull St
* @since Redis 7.0 and above
* @see <a href="https://valkey.io/commands/xgroup-setid/">valkey.io</a> for details.
* @param key The key of the stream.
* @param groupName The newly created consumer group name.
* @param groupName The consumer group name.
* @param id The stream entry ID that should be set as the last delivered ID for the consumer
* group.
* @param entriesReadId An arbitrary ID (that isn't the first ID, last ID, or the zero ID (<code>
Expand Down

0 comments on commit cd5ef0f

Please sign in to comment.