[
https://issues.apache.org/jira/browse/KAFKA-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao updated KAFKA-2262:
---------------------------
Resolution: Fixed
Fix Version/s: 0.8.3
Status: Resolved (was: Patch Available)
Thanks for the patch. +1 and committed to 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
> Assignee: Manikumar Reddy
> Priority: Trivial
> Labels: newbie
> Fix For: 0.8.3
>
> 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)