Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2262

LogSegmentSize validation should be consistent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.1
    • Fix Version/s: 0.9.0.0
    • Component/s: core
    • Labels:

      Description

      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)

        Attachments

        1. KAFKA-2262.patch
          1 kB
          Manikumar

          Activity

            People

            • Assignee:
              omkreddy Manikumar
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: