Some basic examples of redis streams producers, reading within a range of messages, and consumer groups. Written in node.js using the redis client.
Inspired by redisnycstreams.
Easy redis docker setup:
$ node producer-a.js
$ node reset.js
$ node producer-b.js
$ node range.js
$ node reset.js
$ node producer-a.js
# in a separate shell
$ node consumer-group.js
fini.