[
https://issues.apache.org/jira/browse/NIFI-12644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812696#comment-17812696
]
Valiantsin Shukaila commented on NIFI-12644:
--------------------------------------------
[~ferdei] ,
Sorry, I would disagree here.
The way how it is described on how-to for minifi is that you create a process
group inside nifi. You create a process group for a minifi flow and link to
remote process group that is linked to current instance. And on the main flow
you add remote input port to collect data from minifi. And when you link
processors in minifi sub-flow to remote process group it only allows you that
if remote input port is there and you select specific remote input port.
And than you export that minifi process group as a template and convert to yml
to run on mifi.
Now you tell me that for minifi I have to run full separate instance of nifi
just to design the flow separatelly for it. And I have to go to folder and
download flow definition from disk instead of UI.
This does not seem as improvement as it is promoted for 2.0 version, but rather
a step back to some MVP version. That's why it is a bug. If anyone was using
minifi in 1.2.x version. they will not upgrade to 2.x because the functionality
became more simple and require more effort to operate.
> Exported json flows does not match minifi json schema
> -----------------------------------------------------
>
> Key: NIFI-12644
> URL: https://issues.apache.org/jira/browse/NIFI-12644
> Project: Apache NiFi
> Issue Type: Bug
> Components: MiNiFi
> Affects Versions: 2.0.0-M1
> Reporter: Valiantsin Shukaila
> Priority: Major
> Attachments: flow-exported-from-nifi2.json,
> minifi-example-flow-from-tests.json
>
>
> In documentation for Minifi java agent project it is mentioned that in order
> to import process flow, now it is necessary to export nifi flow as json and
> put it in minifi. here link to doc:
> [https://github.com/apache/nifi/blob/main/minifi/minifi-docs/src/main/markdown/minifi-java-agent-quick-start.md]
> But in fact the JSON formats compeltelly do not match. Minifi expect format
> of legacy nifi flow templates just in JSON. But exported nifi flows is
> something very much different.
> Therefore it is not really possible to import flows from nifi-2.0 version to
> minifi 2.0 version.
> It is only possible to export template from nifi 1.2.x version and convert it
> into json format for minifi-2.0 version.
> for file differences please see attached files.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)