Kafka · medium · ~10 min
After the network team's maintenance window (brief packet loss every few minutes for an hour), the metrics-events topic shows ~18k duplicated records. The producer runs acks=all, retries=10 — and the duplicates all pair with producer retry warnings.
metrics-events
Explain the mechanism precisely, then fix it with one flag — and know exactly what that flag does and doesn't promise.