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

Nifi fails when ConsumeKafka_2_6 processor is started with PLAINTEXT securityProtocol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.21.0, 1.23.0
    • 2.0.0-M1, 1.24.0
    • None
    • None

    Description

      When starting ConsumeKafka_2_6 processor with sasl mechanism GSSAPI and the securityProtocol PLAINTEXT (although SSL would be correct) the UI crashed and nifi was no longer accessible. Not only the frontend was not accessible anymore, also the other processors in our flow stopped performing well according to our dashboards.

      We were able to reproduce this by using the config as described above.

      Our nifi in preprod (where this was detected) runs in a kubernetes cluster.

      • version 1.21.0
      • 3 nodes
      • jvmMemory: 1536m
      • 3G memory (limit)
      • 400m cpu (request)
      • zookeeper

      The logs do not offer any unusual entries when the issue is triggered. Inspecting the pod metrics we found a spike in memory.

      The issue is a bit scary for us because a rather innocent config parameter in one single processor is able to let our whole cluster break down.

       

      Attachments

        1. image-2023-09-27-15-56-02-438.png
          47 kB
          Peter Schmitzer

        Issue Links

          Activity

            People

              pgrey Paul Grey
              peter.schmitzer Peter Schmitzer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h