25. Consumer lag keeps growing. Which is a likely first check?
- Whether topics have long names
- Whether the font is readable
- Whether consumers are slow or stuck, or whether partitions/consumers are too few
- Deleting the topic
Show answer
Answer: Whether consumers are slow or stuck, or whether partitions/consumers are too few
Lag grows when processing is slower than production, so check consumer speed, errors, rebalances and parallelism.
Lesson: Revision: Cheat Sheet and Self-Check
26. Which setup survives one broker failure without losing acknowledged writes?
- rf=3, min.insync.replicas=2, acks=all
- rf=1, acks=1
- rf=2, min.insync.replicas=2, acks=all
- acks=0 with rf=3
Show answer
Answer: rf=3, min.insync.replicas=2, acks=all
Three replicas with two required in sync let writes continue after one failure and keep data on two brokers.
Lesson: Revision: Cheat Sheet and Self-Check