SpinTheMic
Pro

Interview practice question

Producer losing messages during broker restarts

Data Engineering · Kafka Streaming · Beginner

Some events go missing whenever brokers are restarted for maintenance. What producer settings do you check?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • acks should be all, not 0 or 1.
  • Retries enabled with idempotence.
  • min.insync.replicas 2 on the topic.
  • Handle send callbacks and errors in code.
  • Flush before application shutdown.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics