Nangani errors lan pesan sing gagal iku penting kanggo reliable Kafka consumers — mutusake apa sing kudu ditindakake nalika processing pesan gagal (retry, skip, utawa route menyang dead letter queue). Error handling sing tepat nyegah data loss lan consumers sing macet.
Masalah: processing failures
When a consumer fails to PROCESS a message (bad data, downstream failure, bug):
→ BLOCKING retry forever → the consumer gets STUCK on a "poison" message (can't progress)
→ skipping silently → data LOSS (the message is lost)
→ crashing → consumer restarts, reprocesses, may get stuck again
→ need a deliberate error-handling strategy.
