首页 > 其他 > 详细

filebeat-kafka:WARN producer/broker/0 maximum request accumulated, waiting for space

时间:2020-01-06 20:27:07      阅读:1024      评论:0      收藏:0      [点我收藏+]

You need to configure 3 things:

  • Brokers

  • Filebeat kafka output

  • Consumer

Here a example (change paths according your environment).

Broker configuration:

open kafka server configuration file

vim /opt/kafka/config/server.properties

add this line

The largest record batch size allowed by Kafka.

message.max.bytes=100000000

restart kafka service

systemctl restart kafka.service
Filebeat kafka output:

Consumer configuration:

larger than the max.message.size

max.partition.fetch.bytes=200000000

以下内容可以不添加

output.kafka:
...
max_message_bytes: 100000000

filebeat-kafka:WARN producer/broker/0 maximum request accumulated, waiting for space

原文:https://www.cnblogs.com/doraman/p/kafka.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!