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

Kafka processors do not support SCRAM-SHA-512 SASL mechanism any more

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.11.2
    • None
    • Security
    • None

    Description

      We recently migrated from Nifi 1.9.2 to 1.11.2 and are now experiencing problems when communicating with our Kafka cluster.

      We have a bunch of flows where we use{{ PublishKafka_2_0}} or ConsumeKafkaRecords_2_0 to send or received data to/from our Kafka cluster. Our Kafka cluster is configured to use SASL_SSL with SCRAM-SHA-512 as authentication method. In Nifi 1.9.2 the "SASL MECHANISM" was a free-text property where we could use "SCRAM-SHA-512". After the upgrade, this property has changed to a drop down list where SCRAM-SHA-512 is not available anymore. One can add a custom parameter (which we did) but then the processor is invalid due to a validation error.

      'sasl.mechanism' validated against 'SCRAM-SHA-512' is invalid because Given value not found in allowed set 'GSSAPI, PLAIN, SCRAM-SHA-256'

      We believe that the validation is too strict in this case. As it was working fine in Nifi 1.9.2 we believe this is a regression and therefore labelled it as a bug. We also think that this issue was introduced with this PR (NIFI-4820)

      Attachments

        Activity

          People

            Unassigned Unassigned
            cgumpert Christian Gumpert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: