How would you design a Kafka consumer for idempotent, exactly-once processing?

TechnicalTech lead javaJava Tech LeadSoftware EngineerData Engineer