Four Became Six
A topic account-events has 4 partitions and records are keyed by account_id. Per-account ordering matters: the consumer applies balance deltas in the order it reads them. To add throughput, an operator runs --alter --partitions 6 at 14:00. No records are deleted and no consumer is restarted.
| record | key | produced at | partition |
|---|---|---|---|
| e1 deposit 200 | A-9134 |
13:58 | 2 |
| e2 withdraw 50 | A-9134 |
13:59 | 2 |
| e3 withdraw 120 | A-9134 |
14:04 | 5 |
| e4 deposit 30 | A-9134 |
14:06 | 5 |
Partition 2 is 40,000 records behind. Partition 5 is caught up. What is the consequence?
Sign in to answer questions and track your progress
Sign In