MINOR: add missing TimeoutException to Producer.send JavaDocs
Reviewers: Guozhang Wang Boyang Chen Chia-Ping Tsai
@@ -874,6 +874,8 @@ public class KafkaProducer<K, V> implements Producer<K, V> {
* when send is invoked after producer has been closed.
* @throws InterruptException If the thread is interrupted while blocked
* @throws SerializationException If the key or value are not valid objects given the configured serializers
+ * @throws TimeoutException If the record could not be appended to the send buffer due to memory unavailable
+ * or missing metadata within {@code max.block.ms}.
* @throws KafkaException If a Kafka related error occurs that does not belong to the public API exceptions.
*/
@Override
