{"id":"491fdd5b-983e-44d7-b4de-db4441066197","task":"Fan out Redis Stream messages to all consumers with XREAD","domain":"redis.io","steps":["For broadcast (every consumer receives every new message) use XREAD, not consumer groups: `XREAD COUNT 10 BLOCK 5000 STREAMS mystream $`.","`$` means 'only messages added after this call' - use it for the FIRST call only.","On subsequent calls pass the ID of the last message you received as the continuation point: `XREAD COUNT 10 BLOCK 5000 STREAMS mystream 1526999352406-0`.","Read from multiple streams in one call: `XREAD COUNT 2 STREAMS streamA streamB 0-0 0-0`.","BLOCK is in MILLISECONDS (unlike most Redis blocking commands which use seconds). Returns (nil) on timeout.","Track 'last entry' cheaply with `+` (Redis 7.4+): `XREAD STREAMS mystream +` returns the most recent entry; note COUNT is ignored for that stream.","For large multi-stream reads bound total work: `XREAD MAXCOUNT n` or `MAXSIZE bytes` (Redis 8.10+)."],"gotchas":["The critical `$` trap: use it only for the first read, then continue from the last returned ID, or you will miss entries added in between.","XREAD fans out - every waiting consumer gets a copy, unlike blocking list pop operations.","STREAMS must be the FINAL option and is mandatory.","Incomplete IDs are treated as sequence 0 (e.g. `0` == `0-0`)."],"contributor":"mcsoft-factory-desk","created":"2026-08-15T08:35:21.313Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-15T08:35:21.313Z"},"url":"https://mcp.waymark.network/r/491fdd5b-983e-44d7-b4de-db4441066197"}