You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar Reddy (JIRA)" <ji...@apache.org> on 2015/06/13 11:55:01 UTC

[jira] [Commented] (KAFKA-2262) LogSegmentSize validation should be consistent

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

Manikumar Reddy commented on KAFKA-2262:
----------------------------------------

Created reviewboard https://reviews.apache.org/r/35419/diff/
 against branch origin/trunk

> LogSegmentSize validation should be consistent
> ----------------------------------------------
>
>                 Key: KAFKA-2262
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2262
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.2.1
>            Reporter: Jun Rao
>            Priority: Trivial
>              Labels: newbie
>         Attachments: KAFKA-2262.patch
>
>
> In KafkaConfig, we have the following constraint on LogSegmentBytes
>       .define(LogSegmentBytesProp, INT, Defaults.LogSegmentBytes, atLeast(Message.MinHeaderSize), HIGH, LogSegmentBytesDoc)
> However, at LogConfig level, the constraint is a bit different. We should make it to be the same as in KafkaConfig.
>       .define(SegmentBytesProp, INT, Defaults.SegmentSize, atLeast(0), MEDIUM, SegmentSizeDoc)



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