[
https://issues.apache.org/jira/browse/MINIFICPP-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Zink updated MINIFICPP-2212:
-----------------------------------
Description:
In case the onSchedule method throws NiFi will retry the onSchedule based on
the configured administrative yield duration (from nifi.properties
{*}_nifi.administrative.yield.duration_{*}), in MiNiFi C++ we will use the
_*onschedule retry interval*_ from the flow config file. But it only works with
yaml configs, json configuration will ignore this and use the default.
We should either switch to NiFi's solution and use the admin yield duration, or
fix the json config.
was:
In case the onSchedule method throws NiFi will retry the onSchedule based on
the configured administrative yield duration (from nifi.properties
{*}_nifi.administrative.yield.duration_{*}), in MiNiFi C++ we will use the
_*onschedule retry interval*_ from the flow config file. But it only works with
yaml configs, json configuration will ignore this and use the default.
We should either switch to NiFi's solution and use the admin yield duration, or
fix the json config.
> Processor onSchedule retry configuration discrepancy with NiFi
> --------------------------------------------------------------
>
> Key: MINIFICPP-2212
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2212
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Martin Zink
> Assignee: Martin Zink
> Priority: Major
>
> In case the onSchedule method throws NiFi will retry the onSchedule based on
> the configured administrative yield duration (from nifi.properties
> {*}_nifi.administrative.yield.duration_{*}), in MiNiFi C++ we will use the
> _*onschedule retry interval*_ from the flow config file. But it only works
> with yaml configs, json configuration will ignore this and use the default.
>
> We should either switch to NiFi's solution and use the admin yield duration,
> or fix the json config.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)