Redis Streams

```json metadata { "schema_version": 2, "title": "Redis Streams", "description": "Introduction to Redis streams", "categories": ["docs","develop","stack","oss","rs","rc","oss","kubernetes","clients"], "tableOfContents": {"sections":[{"id":"examples","title":"Examples"},{"id":"performance","title":"Performance"},{"children":[{"id":"entry-ids","title":"Entry IDs"}],"id":"streams-basics","title":"Streams basics"},{"children":[{"id":"querying-by-range-xrange-and-xrevrange","title":"Querying by range: XRANGE and XREVRANGE"}],"id":"getting-data-from-streams","title":"Getting data from Streams"},{"id":"listening-for-new-items-with-xread","title":"Listening for new items with XREAD"},{"id":"consumer-groups","title":"Consumer groups"},{"id":"creating-a-consumer-group","title":"Creating a consumer group"},{"id":"recovering-from-permanent-failures","title":"Recovering from permanent failures"},{"id":"automatic-claiming","title":"Automatic claiming"},{"id":"claiming-and-the-delivery-counter","title":"Claiming and the delivery counter"},{"id":"releasing-messages-back-to-the-group-xnack","title":"Releasing messages back to the group: XNACK"},{"children":[{"id":"enhanced-deletion-control-in-redis-82","title":"Enhanced deletion control in Redis 8.2"}],"id":"working-with-multiple-consumer-groups","title":"Working with multiple consumer groups"},{"id":"streams-observability","title":"Streams observability"},{"id":"differences-with-kafka-tm-partitions","title":"Differences with Kafka (TM) partitions"},{"children":[{"id":"trimming-with-consumer-group-awareness","title":"Trimming with consumer group awareness"}],"id":"capped-streams","title":"Capped Streams"},{"id":"special-ids-in-the-streams-api","title":"Special IDs in the streams API"},{"id":"persistence-replication-and-message-safety","title":"Persistence, replication and message safety"},{"children":[{"id":"enhanced-deletion-with-xdelex","title":"Enhanced deletion with XDELEX"}],"id":"removing-single-items-from-a-stream","title":"Removing single items from a stream"},{"id":"zero-length-streams","title":"Zero length streams"},{"id":"total-latency-of-consuming-a-message","title":"Total latency of consuming a message"},{"id":"how-serving-blocked-consumers-works","title":"How serving blocked consumers works"},{"id":"latency-tests-results","title":"Latency tests results"},{"id":"learn-more","title":"Learn more"}]}

, "codeExamples": [{"codetabsId":"stream_tutorial-stepxadd","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XADD"}],"description":"Foundational: Add entries to a stream using XADD with auto-generated IDs (creates new entries with field-value pairs)","difficulty":"beginner","id":"xadd","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxadd"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxadd"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxadd"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxadd"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxadd"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxadd"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxadd"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxadd"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxadd"}]},{"codetabsId":"stream_tutorial-stepxrange","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XRANGE"}],"description":"Foundational: Retrieve stream entries within a range of IDs using XRANGE when you need to access historical data","difficulty":"beginner","id":"xrange","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxrange"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxrange"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxrange"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxrange"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxrange"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxrange"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxrange"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxrange"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxrange"}]},{"codetabsId":"stream_tutorial-stepxread_block","commands":[{"acl_categories":["@read","@stream","@slow","@blocking"],"name":"XREAD"}],"description":"Use XREAD with BLOCK to wait for new entries when you need to consume messages as they arrive","difficulty":"intermediate","id":"xread_block","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxread_block"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxread_block"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxread_block"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxread_block"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxread_block"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxread_block"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxread_block"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxread_block"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxread_block"}]},{"codetabsId":"stream_tutorial-stepxadd_2","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XADD"}],"description":"Foundational: Add a single entry to a stream with multiple field-value pairs using XADD","difficulty":"beginner","id":"xadd_2","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxadd_2"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxadd_2"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxadd_2"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxadd_2"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxadd_2"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxadd_2"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxadd_2"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxadd_2"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxadd_2"}]},{"codetabsId":"stream_tutorial-stepxlen","commands":[{"acl_categories":["@read","@stream","@fast"],"complexity":"O(1)","name":"XLEN"}],"description":"Foundational: Get the total number of entries in a stream using XLEN","difficulty":"beginner","id":"xlen","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxlen"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxlen"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxlen"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxlen"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxlen"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxlen"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxlen"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxlen"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxlen"}]},{"codetabsId":"stream_tutorial-stepxadd_id","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XADD"}],"description":"Specify explicit stream entry IDs instead of auto-generated ones when you need to use external system IDs","difficulty":"advanced","id":"xadd_id","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxadd_id"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxadd_id"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxadd_id"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxadd_id"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxadd_id"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxadd_id"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxadd_id"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxadd_id"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxadd_id"}]},{"codetabsId":"stream_tutorial-stepxadd_bad_id","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XADD"}],"description":"Understand ID validation - XADD rejects IDs that are not monotonically increasing","difficulty":"advanced","id":"xadd_bad_id","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxadd_bad_id"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxadd_bad_id"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxadd_bad_id"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxadd_bad_id"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxadd_bad_id"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxadd_bad_id"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxadd_bad_id"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxadd_bad_id"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxadd_bad_id"}]},{"codetabsId":"stream_tutorial-stepxadd_7","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XADD"}],"description":"Use partial explicit IDs with XADD to specify milliseconds while letting Redis auto-generate the sequence number","difficulty":"intermediate","id":"xadd_7","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxadd_7"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxadd_7"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxadd_7"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxadd_7"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxadd_7"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxadd_7"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxadd_7"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxadd_7"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxadd_7"}]},{"codetabsId":"stream_tutorial-stepxrange_all","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XRANGE"}],"description":"Foundational: Retrieve all entries in a stream using XRANGE with - and \u0026#43; special IDs","difficulty":"beginner","id":"xrange_all","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxrange_all"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxrange_all"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxrange_all"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxrange_all"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxrange_all"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxrange_all"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxrange_all"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxrange_all"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxrange_all"}]},{"codetabsId":"stream_tutorial-stepxrange_time","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XRANGE"}],"description":"Query stream entries by time range using millisecond timestamps instead of full IDs","difficulty":"intermediate","id":"xrange_time","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxrange_time"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxrange_time"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxrange_time"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxrange_time"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxrange_time"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxrange_time"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxrange_time"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxrange_time"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxrange_time"}]},{"codetabsId":"stream_tutorial-stepxrange_step_1","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XRANGE"}],"description":"Practical pattern: Paginate stream entries using XRANGE with COUNT to retrieve results in batches","difficulty":"intermediate","id":"xrange_step_1","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxrange_step_1"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxrange_step_1"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxrange_step_1"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxrange_step_1"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxrange_step_1"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxrange_step_1"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxrange_step_1"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxrange_step_1"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxrange_step_1"}]},{"codetabsId":"stream_tutorial-stepxrange_step_2","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XRANGE"}],"description":"Practical pattern: Continue pagination using exclusive range syntax with ( prefix to skip the last retrieved entry","difficulty":"intermediate","id":"xrange_step_2","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxrange_step_2"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxrange_step_2"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxrange_step_2"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxrange_step_2"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxrange_step_2"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxrange_step_2"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxrange_step_2"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxrange_step_2"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxrange_step_2"}]},{"codetabsId":"stream_tutorial-stepxrange_empty","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XRANGE"}],"description":"Practical pattern: Handle empty results when pagination reaches the end of the stream","difficulty":"intermediate","id":"xrange_empty","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxrange_empty"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxrange_empty"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxrange_empty"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxrange_empty"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxrange_empty"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxrange_empty"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxrange_empty"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxrange_empty"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxrange_empty"}]},{"codetabsId":"stream_tutorial-stepxrevrange","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XREVRANGE"}],"description":"Foundational: Retrieve stream entries in reverse order using XREVRANGE when you need the most recent entries first","difficulty":"beginner","id":"xrevrange","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxrevrange"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxrevrange"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxrevrange"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxrevrange"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxrevrange"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxrevrange"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxrevrange"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxrevrange"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxrevrange"}]},{"codetabsId":"stream_tutorial-stepxread","commands":[{"acl_categories":["@read","@stream","@slow","@blocking"],"name":"XREAD"}],"description":"Foundational: Read entries from a stream starting from a specific ID using XREAD (non-blocking form)","difficulty":"beginner","id":"xread","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxread"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxread"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxread"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxread"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxread"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxread"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxread"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxread"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxread"}]},{"codetabsId":"stream_tutorial-stepxgroup_create","commands":[{"acl_categories":["@slow"],"complexity":"Depends on subcommand","name":"XGROUP"}],"description":"Foundational: Create a consumer group for a stream using XGROUP CREATE to enable coordinated message consumption","difficulty":"beginner","id":"xgroup_create","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxgroup_create"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxgroup_create"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxgroup_create"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxgroup_create"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxgroup_create"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxgroup_create"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxgroup_create"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxgroup_create"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxgroup_create"}]},{"codetabsId":"stream_tutorial-stepxgroup_create_mkstream","commands":[{"acl_categories":["@slow"],"complexity":"Depends on subcommand","name":"XGROUP"}],"description":"Create a consumer group and stream atomically using XGROUP CREATE with MKSTREAM option","difficulty":"intermediate","id":"xgroup_create_mkstream","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxgroup_create_mkstream"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxgroup_create_mkstream"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxgroup_create_mkstream"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxgroup_create_mkstream"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxgroup_create_mkstream"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxgroup_create_mkstream"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxgroup_create_mkstream"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxgroup_create_mkstream"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxgroup_create_mkstream"}]},{"codetabsId":"stream_tutorial-stepxgroup_read","description":"Foundational: Read new messages from a stream using a consumer group with XREADGROUP and the \u0026amp;gt; special ID","difficulty":"beginner","id":"xgroup_read","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxgroup_read"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxgroup_read"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxgroup_read"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxgroup_read"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxgroup_read"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxgroup_read"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxgroup_read"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxgroup_read"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxgroup_read"}]},{"codetabsId":"stream_tutorial-stepxgroup_read_id","commands":[{"acl_categories":["@write","@stream","@slow","@blocking"],"name":"XREADGROUP"}],"description":"Access pending message history using XREADGROUP with a specific ID to retrieve unacknowledged messages","difficulty":"intermediate","id":"xgroup_read_id","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxgroup_read_id"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxgroup_read_id"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxgroup_read_id"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxgroup_read_id"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxgroup_read_id"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxgroup_read_id"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxgroup_read_id"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxgroup_read_id"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxgroup_read_id"}]},{"codetabsId":"stream_tutorial-stepxack","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XACK"},{"acl_categories":["@write","@stream","@slow","@blocking"],"name":"XREADGROUP"}],"description":"Foundational: Acknowledge processed messages using XACK to mark them as handled by a consumer","difficulty":"beginner","id":"xack","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxack"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxack"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxack"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxack"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxack"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxack"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxack"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxack"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxack"}]},{"codetabsId":"stream_tutorial-stepxgroup_read_bob","commands":[{"acl_categories":["@write","@stream","@slow","@blocking"],"name":"XREADGROUP"}],"description":"Practical pattern: Demonstrate consumer group load balancing where different consumers receive different messages from the same stream","difficulty":"intermediate","id":"xgroup_read_bob","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxgroup_read_bob"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxgroup_read_bob"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxgroup_read_bob"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxgroup_read_bob"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxgroup_read_bob"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxgroup_read_bob"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxgroup_read_bob"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxgroup_read_bob"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxgroup_read_bob"}]},{"codetabsId":"stream_tutorial-stepxpending","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XPENDING"}],"description":"View pending message summary for a consumer group using XPENDING to monitor unacknowledged messages","difficulty":"intermediate","id":"xpending","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxpending"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxpending"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxpending"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxpending"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxpending"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxpending"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxpending"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxpending"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxpending"}]},{"codetabsId":"stream_tutorial-stepxpending_plus_minus","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XPENDING"}],"description":"Get detailed pending message information including idle time and delivery count using XPENDING with range","difficulty":"advanced","id":"xpending_plus_minus","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxpending_plus_minus"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxpending_plus_minus"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxpending_plus_minus"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxpending_plus_minus"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxpending_plus_minus"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxpending_plus_minus"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxpending_plus_minus"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxpending_plus_minus"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxpending_plus_minus"}]},{"codetabsId":"stream_tutorial-stepxrange_pending","commands":[{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XRANGE"}],"description":"Retrieve the content of pending messages using XRANGE to inspect what needs to be processed","difficulty":"intermediate","id":"xrange_pending","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxrange_pending"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxrange_pending"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxrange_pending"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxrange_pending"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxrange_pending"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxrange_pending"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxrange_pending"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxrange_pending"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxrange_pending"}]},{"codetabsId":"stream_tutorial-stepxclaim","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(log N)","name":"XCLAIM"}],"description":"Claim pending messages from another consumer using XCLAIM when a consumer fails to process messages","difficulty":"advanced","id":"xclaim","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxclaim"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxclaim"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxclaim"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxclaim"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxclaim"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxclaim"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxclaim"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxclaim"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxclaim"}]},{"codetabsId":"stream_tutorial-stepxautoclaim","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XAUTOCLAIM"}],"description":"Practical pattern: Automatically claim idle pending messages using XAUTOCLAIM for simplified consumer failure recovery","difficulty":"advanced","id":"xautoclaim","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxautoclaim"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxautoclaim"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxautoclaim"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxautoclaim"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxautoclaim"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxautoclaim"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxautoclaim"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxautoclaim"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxautoclaim"}]},{"codetabsId":"stream_tutorial-stepxautoclaim_cursor","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XAUTOCLAIM"}],"description":"Continue automatic claiming using the cursor returned by XAUTOCLAIM to iterate through pending messages","difficulty":"advanced","id":"xautoclaim_cursor","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxautoclaim_cursor"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxautoclaim_cursor"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxautoclaim_cursor"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxautoclaim_cursor"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxautoclaim_cursor"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxautoclaim_cursor"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxautoclaim_cursor"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxautoclaim_cursor"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxautoclaim_cursor"}]},{"codetabsId":"stream_tutorial-stepxinfo","commands":[{"acl_categories":["@slow"],"complexity":"Depends on subcommand","name":"XINFO"}],"description":"Get detailed stream information including length, encoding, and consumer groups using XINFO STREAM","difficulty":"intermediate","id":"xinfo","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxinfo"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxinfo"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxinfo"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxinfo"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxinfo"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxinfo"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxinfo"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxinfo"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxinfo"}]},{"codetabsId":"stream_tutorial-stepxinfo_groups","commands":[{"acl_categories":["@slow"],"complexity":"Depends on subcommand","name":"XINFO"}],"description":"List all consumer groups for a stream using XINFO GROUPS to see group status and pending message counts","difficulty":"intermediate","id":"xinfo_groups","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxinfo_groups"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxinfo_groups"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxinfo_groups"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxinfo_groups"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxinfo_groups"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxinfo_groups"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxinfo_groups"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxinfo_groups"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxinfo_groups"}]},{"codetabsId":"stream_tutorial-stepxinfo_consumers","commands":[{"acl_categories":["@slow"],"complexity":"Depends on subcommand","name":"XINFO"}],"description":"Get detailed consumer information for a group using XINFO CONSUMERS to monitor individual consumer status","difficulty":"advanced","id":"xinfo_consumers","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepxinfo_consumers"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepxinfo_consumers"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepxinfo_consumers"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepxinfo_consumers"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepxinfo_consumers"},{"id":"dotnet-Sync (SE-Redis)","panelId":"panel_Csharp-Sync (SERedis)_stream_tutorial-stepxinfo_consumers"},{"clientId":"redis-rb","clientName":"redis-rb","id":"Ruby","langId":"ruby","panelId":"panel_Ruby_stream_tutorial-stepxinfo_consumers"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Sync","langId":"rust","panelId":"panel_Rust-Sync_stream_tutorial-stepxinfo_consumers"},{"clientId":"redis-rs","clientName":"redis-rs","id":"Rust-Async","langId":"rust","panelId":"panel_Rust-Async_stream_tutorial-stepxinfo_consumers"}]},{"codetabsId":"stream_tutorial-stepmaxlen","commands":[{"acl_categories":["@write","@stream","@fast"],"complexity":"O(1)","name":"XADD"},{"acl_categories":["@read","@stream","@fast"],"complexity":"O(1)","name":"XLEN"},{"acl_categories":["@read","@stream","@slow"],"complexity":"O(N)","name":"XRANGE"}],"description":"Limit stream size using MAXLEN option with XADD to automatically evict old entries and maintain constant memory usage","difficulty":"intermediate","id":"maxlen","languages":[{"id":"redis-cli","panelId":"panel_redis-cli_stream_tutorial-stepmaxlen"},{"clientId":"redis-py","clientName":"redis-py","id":"Python","langId":"python","panelId":"panel_Python_stream_tutorial-stepmaxlen"},{"id":"Node-js","panelId":"panel_Nodejs_stream_tutorial-stepmaxlen"},{"clientId":"jedis","clientName":"Jedis","id":"Java-Sync","langId":"java","panelId":"panel_Java-Sync_stream_tutorial-stepmaxlen"},{"clientId":"go-redis","clientName":"go-redis","id":"Go","langId":"go","panelId":"panel_Go_stream_tutorial-stepmaxlen"},{"id":"dotnet-Sync (SE-Redis)","panelId":"pan

(本文超出站点单文档体积上限,已截断)