msharee9 commented on a change in pull request #604: MINIFICPP-926 Create
nanofi tailfile processor for tailing file by configurable chunk size
URL: https://github.com/apache/nifi-minifi-cpp/pull/604#discussion_r303533143
##########
File path: nanofi/src/api/nanofi.cpp
##########
@@ -263,10 +263,9 @@ flow_file_record * generate_flow_file(nifi_instance *
instance, standalone_proce
ffr->keepContent = 1;
auto ff_content_repo_ptr =
(static_cast<std::shared_ptr<minifi::core::ContentRepository>*>(ffr->crp));
auto claim = std::make_shared<minifi::ResourceClaim>(*ff_content_repo_ptr);
- const char * full_path = claim->getContentFullPath().c_str();
Review comment:
I am using create_processor function to create a processor. This function
creates a flow, a plan and links them together. I need the UUID of the
processor in order to get the plan and in turn the flow file ptr to populate
flow_file_record.
----------------------------------------------------------------
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]
With regards,
Apache Git Services