您的位置:首页 > 产品设计 > UI/UE

Kafka中QueueFullException异常

2016-09-23 18:15 381 查看
原文地址:https://cwiki.apache.org/confluence/display/KAFKA/FAQ


Why do I get QueueFullException in my producer when running in async mode?


This typically happens when the producer is trying to send messages quicker than the broker can handle. If the producer can't block, one will have to add enough brokers so that they jointly can handle the load. If the producer can block, one can set queue.enqueueTimeout.ms
in producer config to -1. This way, if the queue is full, the producer will block instead of dropping messages.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: