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

ConsumeKafka 0.9 and 0.10 not handling partition reassignment case sufficiently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      The new ConsumeKafka clients handle the threading model of the consumer api correctly. However, they are not yet honoring partition reassignment cases sufficiently which means we could have avoidable cases of duplication. By registering a partition reassignment listener we can handle it correctly.

      Further, the processor is loading subsequent polls of messages into memory rather than writing directly to the process session/disk. We could write them to disk and achieve far better performance and efficiency. Early testing shows easily achieving 100MB/s sustained per thread on a simple laptop setup with defaults which will scale very nicely on a legit installed content repository.

      Attachments

        Issue Links

          Activity

            People

              joewitt Joe Witt
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: