Grokking Redis
Vote

0% completed

​

5.4 Redis Streams and Consumer Groups

Lists hand each item to one consumer and forget it, and Pub/Sub broadcasts each message to whoever is listening and forgets it too. A stream keeps what it delivers. It is an append-only log whose entries stay after they are read, so consumers can track their position, resume after a crash, replay history, and share work in consumer groups with explicit acknowledgment. Streams give you the main reliability features of a message broker inside the Redis you already run.

The Stream Data Model

A stream is a key that holds an ordered sequence of entries. This lesson follows one stream, `events

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content