Q. What happens if a Kafka producer sends messages faster than the broker can handle?

  • (A) Messages are lost
  • (B) Producer blocks or errors depending on configuration
  • (C) Broker stops automatically
  • (D) ZooKeeper reassigns partitions
πŸ’¬ Discuss
βœ… Correct Answer: (B) Producer blocks or errors depending on configuration
Explanation: If buffer memory is full, the producer will block or throw an exception based on configuration.
Explanation by: Mr. Dubey
If buffer memory is full, the producer will block or throw an exception based on configuration.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
129
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate