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

LogSegmentSize validation should be consistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.8.2.1
    • 0.9.0.0
    • core

    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

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

            Dates

              Created:
              Updated:
              Resolved: