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

ListenTCPRecord + CsvReader produces exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.4
    • Fix Version/s: 1.12.0
    • Component/s: None
    • Labels:
      None

      Description

      After adding schema inference, the CsvReader now uses mark/reset. ListenTCPRecord has two classes, StandardSocketChannelRecordReader and SSLSocketChannelRecordReader. The SSL variant wraps the socket InputStream in a BufferedInputStream which allows it to support mark/reset, but the standard one doesn't so it throws an exception about mark/reset not being supported.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbende Bryan Bende
                Reporter:
                bbende Bryan Bende
              • 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 - 0.5h
                  0.5h