kafka生产者参数优化 lua-resty-kafka:buffer overflow while logging request
KAFKA参数调优实战,看这篇文章就够了!https://www.cnblogs.com/technologykai/articles/10875480.html
kafka生产者使用不当导致的应用挂起/夯住 https://www.jianshu.com/p/45258f744425
https://github.com/doujiang24/lua-resty-kafka
Error:buffer overflow while logging request
https://github.com/doujiang24/lua-resty-kafka/issues/76
优化参数:
-
batch_numSpecifies the
batch.num.messages. Default200. -
batch_sizeSpecifies the
send.buffer.bytes. Default1M(may reach 2M). Be careful, SHOULD be smaller than thesocket.request.max.bytes / 2 - 10kconfig in kafka server. -
max_bufferingSpecifies the
queue.buffering.max.messages. Default50,000.
Copyright © 2025 Primzahl. All rights reserved.

浙公网安备 33010602011771号