A

Admin • 833.24K Points
Coach

Q. What is the use of 'acks=1' in Kafka producer?

  • (A) No acknowledgment required
  • (B) Acknowledgment from all replicas
  • (C) Acknowledgment from leader only
  • (D) Acknowledgment from consumer
  • Correct Answer - Option(C)
  • Views: 33
  • Filed under category Apache Kafka
  • Hashtags:

Explanation by: Admin

With acks=1, the producer waits for the leader to acknowledge the write.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.