lordgamez commented on a change in pull request #917:
URL: https://github.com/apache/nifi-minifi-cpp/pull/917#discussion_r520519481
##########
File path: extensions/libarchive/CompressContent.cpp
##########
@@ -60,10 +60,29 @@ core::Property CompressContent::EncapsulateInTar(
"If false, on compression the content of the
FlowFile simply gets compressed, and on decompression a simple compressed
content is expected.\n"
"true is the behaviour compatible with older MiNiFi
C++ versions, false is the behaviour compatible with NiFi.")
->isRequired(false)->withDefaultValue<bool>(true)->build());
+core::Property CompressContent::BatchSize(
+ core::PropertyBuilder::createProperty("Batch Size")
+ ->withDescription("Maximum number of FlowFiles processed in a single
session")
+ ->withDefaultValue<uint32_t>(1)->build());
core::Relationship CompressContent::Success("success", "FlowFiles will be
transferred to the success relationship after successfully being compressed or
decompressed");
core::Relationship CompressContent::Failure("failure", "FlowFiles will be
transferred to the failure relationship if they fail to compress/decompress");
+std::map<std::string, CompressContent::CompressionFormat>
CompressContent::compressionFormatMimeTypeMap_{
Review comment:
Sure that sounds okay
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]