[ 
https://issues.apache.org/jira/browse/KAFKA-1273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244556#comment-14244556
 ] 

Jun Rao commented on KAFKA-1273:
--------------------------------

I was thinking that one way is to just disallow customizing max.message.size 
per topic. Such customization may break downstream consumers like MirrorMaker. 
I am not sure if there is a strong use case for the per topic customization.

> Brokers should make sure replica.fetch.max.bytes >= message.max.bytes
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-1273
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1273
>             Project: Kafka
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: 0.8.0
>            Reporter: Dong Zhong
>            Assignee: Sriharsha Chintalapani
>              Labels: newbie
>
> If message.max.bytes is larger than replica.fetch.max.bytes,followers can't 
> fetch data from the leader and will incur endless retry. And this may cause 
> high network traffic between followers and leaders.
> Brokers should make sure replica.fetch.max.bytes >= message.max.bytes by 
> adding a sanity check, or throw an exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to