Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7642

KafkaConsumers: Improve batching into fewer FlowFiles under high latency conditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.7.1, 1.9.0, 1.10.0, 1.9.1, 1.9.2, 1.11.0, 1.11.1, 1.11.2, 1.11.4
    • None
    • Extensions

    Description

      NIFI-3962 introduced two hard-coded magic numbers into KafkaConsumers. :

      • maxRecords is capped at 1000, regardless of the property setting
      • the poll timeout is fixed at 10ms

      Under high throughput & high latency conditions, this leads to too small small files.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              goosalex Alex Goos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m