szaszm commented on a change in pull request #793:
URL: https://github.com/apache/nifi-minifi-cpp/pull/793#discussion_r431011054



##########
File path: libminifi/src/EventDrivenSchedulingAgent.cpp
##########
@@ -29,6 +29,13 @@ namespace apache {
 namespace nifi {
 namespace minifi {
 
+void EventDrivenSchedulingAgent::schedule(std::shared_ptr<core::Processor> 
processor) {
+  if (!processor->hasIncomingConnections()) {
+    throw Exception(PROCESS_SCHEDULE_EXCEPTION, "EventDrivenSchedulingAgent 
cannot schedule processor without incoming connection!");

Review comment:
       I suggest logging the processor UUID and possibly its type as well. I 
think it would be helpful to users with nontrivial flows who happened to 
incorrectly configure minifi c++.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to