Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/148#discussion_r145689143
--- Diff: libminifi/include/core/ProcessSession.h ---
@@ -151,11 +152,47 @@ class ProcessSession {
bool keepSource,
uint64_t offset, char inputDelimiter);
+ /**
+ * Exports the data stream to a file
+ * @param string file to export stream to
+ * @param flow flow file
+ * @param bool whether or not to keep the content in the flow file
+ */
+ bool exportContent(const std::string &destination,
--- End diff --
Does export content imply we will always have persistent storage? If not we
could use std::shared_ptr<io::BaseStream> stream for input and output and apply
a file stream to them?
---