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

Config should default to a higher-throughput configuration for log.flush.interval

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.7
    • config
    • None

    Description

      Currently we default the flush interval to log.flush.interval=1. This is very slow as it immediately flushes each message. I recommend we change this to 20000 and drop the time-based flush to 1 second. This should be a good default trade-off between latency and throughput.

      Attachments

        1. KAFKA-164-v2.patch
          10 kB
          Jay Kreps
        2. KAFKA-164.patch
          0.7 kB
          Jay Kreps

        Activity

          People

            jkreps Jay Kreps
            jkreps Jay Kreps
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: