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

PutDatabaseRecord doesn't route error flow file to failure and leaves it in the input queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.12.1
    • 1.13.0
    • Core Framework
    • None

    Description

      Input flow file is in Avro format, contains array of records, one of them with following fields

      Field in line 124 (let's name it f124) in one of the records contains string value. The corresponding field in PostgreSQL database, where PutDatabaseRecords upserts the data is of type numeric.

      PutDatabaseRecord writes errors to the bulletin board, but the flow file causing error doesn't route to failure and stays in the input queue:

      PutDatabaseRecord processor configuration:

      Attachments

        1. image-2020-11-14-21-42-25-537.png
          71 kB
          Svyatoslav
        2. image-2020-11-14-21-33-46-046.png
          198 kB
          Svyatoslav
        3. image-2020-11-14-21-32-12-673.png
          11 kB
          Svyatoslav
        4. image-2020-11-14-21-30-56-114.png
          14 kB
          Svyatoslav

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sb_adv Svyatoslav
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: