kafka queue full解决办法

(kafka.producer.async.AsyncProducer:109) - Event queue is full of unsent messages, could not send event: 


queue.enqueueTimeout.ms, if set to -1 will lead to blocking behaviour
instead of the producer throwing
QueueFullExceptions.
简单来说,两种解决方法
 1、选择忍受,消息丢弃,容忍这种异常;
2、选择阻塞,即设置queue.enqueueTimeout.ms为-1。
 
 

猜你喜欢

转载自blog.csdn.net/map_lixiupeng/article/details/43206145
今日推荐