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

PutLambda Nifi expression in Function Name and Region values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Core Framework

    Description

      As of NiFi 1.21.0 PutLambda doesn't allow to pass flow file attributes to Function Name and Region fields (see pictures in attachments). The lack of this feature complicates our workflows because it requires to have each processor assigned to specific lambda and if the flow has a lot of lambdas, that becomes a mess really quickly.

      By allowing to use nifi expression language in Function Name & Region fields, it simplifies certain nifi flows and makes better nifi usage experience.

      In attachment, I add some code examples of how this change could be implemented. Be aware that these examples contains some additional changes for NIFI-11533 as well.

      Attachments

        1. Screenshot 2023-05-09 at 14.30.16.png
          41 kB
          Ernestas Žemaitis
        2. Screenshot 2023-05-09 at 14.29.48.png
          33 kB
          Ernestas Žemaitis
        3. PutLambda.java
          13 kB
          Ernestas Žemaitis
        4. AbstractAWSLambdaProcessor.java
          5 kB
          Ernestas Žemaitis

        Activity

          People

            Unassigned Unassigned
            ernzem Ernestas Žemaitis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: