Introduction
XREADGROUP helps multiple consumers share the work of reading messages from a Redis stream without missing or repeating messages.
When you want several workers to process messages from the same stream without overlap.
When you need to ensure each message is processed at least once by one consumer.
When you want to track which messages have been delivered but not yet acknowledged.
When you want to balance load among consumers reading from a stream.
When you want to recover unacknowledged messages for retry.