Hi Karl, If using recent versions (I think 1.20+) of NiFi 1.x, you'd have flow.xml.gz and flow.json.gz side by side. The JSON representation is what remains in NiFi 2.x (any XML representation of the flows is going away). You could also right click on a process group in the NiFi and download a flow definition as a JSON file.
HTH, Pierre Le mar. 25 juin 2024 à 17:07, Schumacher, Karl (CDPQ) <kschumac...@cdpq.com.invalid> a écrit : > Hi, > > My organization use Apache Nifi and we have many fows that are saved > (Registry) in the file flow.xml.gz > They are huge (millions of rows). > > We have installed the new Apache Nifi version on EC2 instances and another > one for Registry, and we try to figure how to convert the flow.xml.gz to > json format. > The goal is to replace the file flow.xml.gz of the version 2 with the > converted flow.xml.gz of the version 1. > > In the migration process, do a tool exist, or some instructions (steps), > to achieve this migration. > > Thanks, > > ______________________________________ > > Karl Schumacher > Developer > Data > CDPQ > T +1 514 847-4182 > > > > > ________________________________ > > Avis de confidentialit? : Ce courriel et les pi?ces qui y sont jointes > contiennent de l'information confidentielle et peuvent ?tre prot?g?s par le > secret professionnel ou constituer de l'information privil?gi?e. Ils sont > destin?s ? l'usage exclusif de la (des) personne(s) ? qui ils sont > adress?s. Si vous n'?tes pas le destinataire vis? ou la personne charg?e de > transmettre ce document ? son destinataire, vous ?tes avis? par la pr?sente > que toute divulgation, reproduction, copie, distribution ou autre > utilisation de cette information est strictement interdite. Si vous avez > re?u ce courriel par erreur, veuillez en aviser imm?diatement l'exp?diteur > par t?l?phone ainsi que d?truire et effacer l'information que vous avez > re?ue de tout disque dur ou autre m?dia sur lequel elle peut ?tre > enregistr?e et ne pas en conserver de copie. Merci de votre collaboration. > > ________________________________ > > Notice of Confidentiality: This electronic mail message, including any > attachments, is confidential and may be privileged and protected by > professional secrecy. They are intended for the exclusive use of the > addressee. If you are not the intended addressee or the person responsible > for delivering this document to the intended addressee, you are hereby > advised that any disclosure, reproduction, copy, distribution or other use > of this information is strictly forbidden. If you have received this > document by mistake, please immediately inform the sender by telephone, > destroy and delete the information received from any hard disk or any media > on which it may have been registered and do not keep any copy. Thank you > for your cooperation. >