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

ConsumeKafkaRecord_2_6 verification should fail if Record Reader produces no records

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • Extensions
    • None

    Description

      I configured a ConsumeKafkaRecord_2_6 processor. I then used a Record Reader that was meant to parse logs but pointed it at a topic containing JSON. I then performed verification.

      There were no failures, as the Record Reader simply skips any records that don't match the expected format. This should cause the processor's verification to instead fail, since there was a Kafka message that produced no Record from the RecordReader.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 20m
                  20m