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] [Updated] (KAFKA-2262) LogSegmentSize validation should be consistent

     [ https://issues.apache.org/jira/browse/KAFKA-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manikumar Reddy updated KAFKA-2262:
-----------------------------------
    Assignee: Manikumar Reddy
      Status: Patch Available  (was: Open)

> 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
>            Assignee: Manikumar Reddy
>            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)