Two Consumer Groups
Easy · system design problem
The analytics consumer crashes. Orders keep flowing — but analytics falls minutes behind.
Two consumer groups read the same order-events topic: order-worker fulfils orders, analytics-worker feeds the real-time dashboard. Each group reads every message and tracks its own offset. Analytics promises dashboards at most 20 seconds behind. Something is about to crash.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.