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

Expression Language not supported for Mongo Collection Names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.6.1
    • None
    • Core Framework
    • Patch

    Description

      When creating a workflow to insert data into Mongo, I have many data flows running into the PutMongo processor. I would like to insert these records into collections that show their data source via an attribute. The PutMongo processor (which is driven by AbstractMongoProcessor) doesn't allow for dynamic collection assignment via expression language. The workaround is having 1..n PutMongo processors, all pointing to the same DB, with different collection names assigned for each workflow. This seems very un-Nifi, and appears to be fairly simple to modify the AbstractMongoProcessor to allow expressions.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              schendtj jon schendt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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