Idempotent Producer deduplication state after producer restart
Apache Kafka's idempotent producer uses a Producer ID (PID) and sequence numbers to prevent duplicate messages during retry cycles. This mechanism ensures that if a broker fails to acknowledge a write but the message was actually persisted, subsequent retries are discarded by the broker. The deduplication state is tied to the lifecycle of the producer sessio