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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.7
    • Component/s: config
    • Labels:
      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

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

              Dates

              • Due:
                Created:
                Updated:
                Resolved: