Learn Labs
Consumers

Self-test

Check your understanding

Self-test11 questions

—/11
  1. Why can't a 6-partition topic use more than 6 consumers in one group?

  2. What changed in the KIP-848 protocol compared with classic rebalancing? Who computes the assignment now?

  3. Name four things that trigger a rebalance.

  4. Describe the max.poll.interval.ms rebalance loop and three ways to fix it.

  5. What does static membership (group.instance.id) prevent?

  6. Commit-then-process vs process-then-commit: what does a crash do to each?

  7. Why is auto-commit's guarantee fuzzy?

  8. Give three ways to make a consumer idempotent.

  9. How can auto.offset.reset=latest silently skip data?

  10. How do share groups differ from consumer groups in ordering, parallelism, and acknowledgement?

  11. Design question

    An image-thumbnailing service gets bursty uploads, each job takes 2-30 seconds, and order doesn't matter. Design its Kafka consumption, comparing a consumer group and a share group.