I want to send message which are larger than one Mb, I set this in server.properties file
我想发送大于1Mb的消息,我在server.properties文件中设置了这一点
message.max.bytes=90000000
replica.fetch.max.bytes=90000000
max.message.bytes=90000000
but again i get error message: KafkaError{code=MSG_SIZE_TOO_LARGE,val=10,str="Unable to produce message: Broker: Message size too large"}
但我再次收到错误消息:KafkaError{code=MSG_SIZE_TOO_LARGE,VAL=10,str=“Unable to Products Message:Broker:Message Size Too Size”}
I also set something in producer.properties
我还在Producer.Properties中设置了一些内容
max.request.size=90000000
batch.size=90000000
buffer.memory=90000000
can anyone help?
有谁能帮忙吗?
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!