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)