tpalfy commented on PR #7809:
URL: https://github.com/apache/nifi/pull/7809#issuecomment-1742847325

   @exceptionfactory I'm not entirely familiar with all possible NiFi runtimes 
but in general only the regular NiFi would have FlowAnalyzer and 
RuleViolationsManager set. At least that was the intent.
   All other runtimes (MiNiFi, Stateless NiFi) would have these as null.
   
   I think Optional servers exactly this kind of purpose.
   Setting any kind of dummy implementation would require us to identify all 
the injection and/or explicit instantiation points and we would need to 
maintain the dummy classes. It would lead to a more convoluted design and 
implementation in my opinion.


-- 
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: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to