Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.11.0
Description
Hi Team!
nifi-mock-record-utils has next class
public class ArrayListRecordWriter extends AbstractControllerService implements RecordSetWriterFactory {
with factory method
public RecordSetWriter createWriter(final ComponentLog logger, final RecordSchema schema, final OutputStream out, final Map<String, String> variables)
and RecordSetWriter has close() method that does nothing.
So when i obtain outputStream and close it via RecordReader all tests in custom processor failed because OutputStream don't closed.
ArrayListRecordReader has the same problem.
Attachments
Issue Links
- links to