We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
withSendBufferSize
1 parent 7318cc9 commit 86bc120Copy full SHA for 86bc120
zio-kafka/src/main/scala/zio/kafka/producer/ProducerSettings.scala
@@ -66,6 +66,8 @@ final case class ProducerSettings(
66
* @param sendBufferSize
67
* The maximum number of record chunks that can queue up while waiting for the underlying producer to become
68
* available.
69
+ * Performance critical users that publish a lot of records one by one (instead of in chunks), should consider
70
+ * increasing this value, for example to `10240`.
71
*/
72
def withSendBufferSize(sendBufferSize: Int): ProducerSettings =
73
copy(sendBufferSize = sendBufferSize)
0 commit comments