Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
str
required
The key of the stream.
group
str
required
The consumer group name.
id
str
required
The stream entry ID to start consuming from. Use ’$’ to start from the end.
mkstream
bool
Create the stream if it doesn’t exist.

Response

Returns “OK” if the consumer group was created successfully.
result = redis.xgroup_create("mystream", "mygroup", "$")