You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2015/06/10 23:39:00 UTC

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

Jun Rao created KAFKA-2262:
------------------------------

             Summary: 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


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)