Hi Roberto, You can access the Apache NiFi source code on GitHub, and specifically, the source code for the GetMongo processor is available here: GetMongo Processor GitHub<https://github.com/apache/nifi/blob/6daf0abfd4ce56c1a1285f68af050e02b36fa6f4/nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/GetMongo.java>.
To get started with developing a custom processor, I recommend beginning with the existing nifi-mongodb-bundle. If you plan to include your custom processor within the archive of the existing ones, you can add your processor class to the processor package and update the meta-inf descriptor accordingly. If you prefer to bundle your custom processor in a separate NAR (NiFi Archive)<https://medium.com/hashmapinc/nifi-nar-files-explained-14113f7796fd>, you can start by duplicating an existing NAR and then make the necessary changes, including renaming the required parts to match your custom processor. For comprehensive documentation and guidance, the developer guide can be found here: NiFi Developer Guide<https://nifi.apache.org/developer-guide.html>. I hope this information helps you in your journey to develop a custom processor and learn more about working with NiFi. Kind Regards, Lehel ________________________________ From: Roberto Bruni <[email protected]> Sent: Friday, October 20, 2023 17:44 To: [email protected] <[email protected]> Subject: Custom processors development Ciao to all! I am really interested in developing a custom processor for my company and, more broadly, to learn to do that. I would like to access GetMongo processor source code, and to be able to understand how to deal with Client Services in my code. Would you please be so kind to provide me with those informations or with any link that might be useful? Thanks in advance! Roberto Bruni
