martinzink commented on code in PR #2096:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2096#discussion_r3074221231


##########
minifi-api/include/minifi-c/minifi-c.h:
##########
@@ -153,6 +155,12 @@ typedef struct MinifiProcessorMetadata {
   MinifiLogger* logger;  // borrowed reference, live until the processor is 
live
 } MinifiProcessorMetadata;
 
+typedef struct MinifiControllerServiceMetadata {
+  MinifiStringView uuid;
+  MinifiStringView name;
+  MinifiLogger* logger;  // borrowed reference, live until the controller 
service is live

Review Comment:
   no, its the same idea like in MinifiProcessorServiceMetadata, this is only 
created by the agent in CControllerService (from a shared_ptr logger and its 
always set), extension writer should only use this struct and not create or 
modify it



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to