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

sriharsha chintalapani commented on KAFKA-1273:
-----------------------------------------------

I am not able to reproduce this in the trunk as kafka-server-start.sh fails to 
start the broker throwing
java.lang.IllegalArgumentException: requirement failed: replica.fetch.max.bytes 
has value 1024 which is not in the range (2048,2147483647).
its checking if the replica.fetch.max.bytes >= message.max.bytes.

> 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: Neha Narkhede
>              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.2#6252)

Reply via email to