1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-07-06 10:38:30 -04:00
parent 2a662a367d
commit ab153a8eda
10 changed files with 97 additions and 60 deletions

View File

@@ -15,7 +15,11 @@ describe('XINFO CONSUMERS', () => {
client.xGroupCreate('key', 'group', '$', {
MKSTREAM: true
}),
client.xGroupCreateConsumer('key', 'group', 'consumer'),
// using `XREADGROUP` and not `XGROUP CREATECONSUMER` because the latter was introduced in Redis 6.2
client.xReadGroup('group', 'consumer', {
key: 'key',
id: '0-0'
}),
client.xInfoConsumers('key', 'group')
]);