1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Add streams XREADGROUP and XACK example. (#1832)

* Removed stream delete command to allow consumer group example to work.

* Adds stream consumer group example.

* Adds stream consumer group example code.

* Update README.md

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
This commit is contained in:
Simon Prickett
2022-01-19 18:36:24 +00:00
committed by GitHub
parent d602682b64
commit 41f6b009d3
3 changed files with 105 additions and 1 deletions

View File

@@ -6,7 +6,6 @@ async function streamProducer() {
const client = createClient();
await client.connect();
await client.del('mystream');
let num = 0;