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

Broker level configuration 'log.segment.bytes' not used when 'segment.bytes' not configured per topic.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.2.0
    • 0.10.2.1, 0.11.0.0
    • log

    Description

      In the previous version, if there was not topic level configuration 'segment.bytes', then the corresponding value from the broker configuration was used (for 'segment.bytes', this is the value configured for 'log.segment.bytes'); in 0.10.2.0, if the configuration at topic level is missing, then the value configured at broker level is not used, some kind of default value for that broker level configuration is used (for 'log.retention.bytes', this is 'val LogSegmentBytes = 1 * 1024 * 1024 * 1024').
      However, in the documentation it is said: 'A given server default config value only applies to a topic if it does not have an explicit topic config override.'; so, according to this, if there is, for example, no value configured for 'segment.bytes', then the value configured for 'log.segment.bytes' should be used.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ciprian Ciprian Pascu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: