📜  如何更改默认大小 kafka - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:55.183000             🧑  作者: Mango

代码示例1
## on publisher

message.max.bytes=15728640 
replica.fetch.max.bytes=15728640
max.request.size=15728640

## on consumer

fetch.message.max.bytes=15728640

read this -> https://stackoverflow.com/questions/21020347/how-can-i-send-large-messages-with-kafka-over-15mb