[
https://issues.apache.org/jira/browse/MINIFICPP-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Zink updated MINIFICPP-1415:
-----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
https://github.com/apache/nifi-minifi-cpp/commit/05e591ea99fb8526610db3d14552440376d8fb1d
> Pass references to onTrigger and onSchedule instead of shared_ptr
> -----------------------------------------------------------------
>
> Key: MINIFICPP-1415
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1415
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Marton Szasz
> Assignee: Martin Zink
> Priority: Minor
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> To avoid mandatory shared ownership of ProcessSessionFactory, ProcessSession
> and ProcessContext, possibly enabling future refactoring to simplify
> processor code by removing these overloads.
> This would also simplify processor implementation which is important for
> third-party extensibility. I would love to eventually see an ecosystem where
> people start creating their own independent processors for minifi c++ to
> interface with other software.
>
> original idea:
> https://github.com/apache/nifi-minifi-cpp/pull/943#discussion_r532575479
--
This message was sent by Atlassian Jira
(v8.20.10#820010)