← Quit0 / 0 correct
System DesignHard1 of 366

A consumer reads from Kafka and writes to a database. How do you avoid duplicates when it crashes between the write and the offset commit?