Skip to main content
richG
Bronze III
March 3, 2022
Solved

MiNiFi RPG Input Port batch settings not supported?

Hi,

When I setup a MiNiFi flow with a RPG I can set the various batch settings for the input ports (count, duration & size) and see them in the exported xml:

<inputPorts>
<batchSettings>
<count>5</count>
<duration>15s</duration>
<size>1 MB</size>
</batchSettings>

 

However, when I use the toolkit to convert it to yml these properties no longer appear.

Are these settings supported on MiNiFi and, if not, is there any plan to support them?

 

Thanks for your help.

 

MattWho
MattWhoAnswer
Titanium ⭐️⭐️⭐️
March 7, 2022

@richG 

 

Your observations are correct.  The conversion script code does convert those properties.
https://github.com/apache/nifi/blob/main/minifi/minifi-toolkit/minifi-toolkit-configuration/src/main/java/org/apache/nifi/minifi/toolkit/configuration/dto/RemotePortSchemaFunction.java

I generated the following Apache NiFi jira:
https://issues.apache.org/jira/browse/NIFI-9772

If you found this response assisted with your query, please take a moment to login and click on "Accept as Solution" below this post.

Thank you,

Matt

 

1 reply

MattWho
Titanium ⭐️⭐️⭐️
MattWhoAnswer
Titanium ⭐️⭐️⭐️
March 7, 2022

@richG 

 

Your observations are correct.  The conversion script code does convert those properties.
https://github.com/apache/nifi/blob/main/minifi/minifi-toolkit/minifi-toolkit-configuration/src/main/java/org/apache/nifi/minifi/toolkit/configuration/dto/RemotePortSchemaFunction.java

I generated the following Apache NiFi jira:
https://issues.apache.org/jira/browse/NIFI-9772

If you found this response assisted with your query, please take a moment to login and click on "Accept as Solution" below this post.

Thank you,

Matt

 

Translate