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


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM