Skip to main content

Arguments

key
str
required
The key of the stream.
group
str
required
The consumer group name.
id
str
required
The stream entry ID to set as the last delivered ID. Use ’$’ for the last entry.
entries_read
int
Set the number of entries read by the group.

Response

Returns “OK” if the ID was set successfully.
result = redis.xgroup_setid("mystream", "mygroup", "0-0")
I