티스토리 뷰

공부

[Kafka] Message Size over 1MB

seunggabi 승가비 2020. 9. 12. 13:45
# Broker
message.max.bytes=15728640 
replica.fetch.max.bytes=15728640

# Consumer
fetch.message.max.bytes=15728640

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

 

How can I send large messages with Kafka (over 15MB)?

I send String-messages to Kafka V. 0.8 with the Java Producer API. If the message size is about 15 MB I get a MessageSizeTooLargeException. I have tried to set message.max.bytesto 40 MB, but I sti...

stackoverflow.com

 

댓글
댓글쓰기 폼