nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Payne <marka...@hotmail.com>
Subject Re: develop custom processor
Date Tue, 03 Feb 2015 17:47:46 GMT
NiFi has a construct of a NiFi Archive (NAR) for packaging processors (and other extensions)
with their extensions.




For learning purposes, the easiest way to start is to add a Processor to the nifi-standard-processors
module (/nifi/nifi-nar-assemblies/nifi-standard-bundle/nifi-standard-processors). If you are
planning to develop a Processor that you would like to contribute back to Apache NiFi, then
we should probably discuss where in the tree structure the Processor should go. If this is
intended as a Processor for your own use that won’t be contributed back, it should not go
in standard processors, but standard processors is still a good starting point for learning.




Then, in the nifi-standard-processors/src/main/resources/META-INF/org.apache.nifi.processor.Processor
file, you will need to add a line with your fully-qualified Processor name. This is how the
UI discovers the available processors.




Then you can rebuild nifi-standard-bundle and copy in nifi-standard-bundle/nifi-standard-nar/target/nifi-standard-nar-0.0.2-incubating.SNAPSHOT.nar
to your lib/ directory. Or simply rebuild from the root nifi/ directory and you’re good
to go.


Thanks

-Mark






From: chenduluru
Sent: ‎Tuesday‎, ‎February‎ ‎3‎, ‎2015 ‎12‎:‎46‎ ‎PM
To: dev@nifi.incubator.apache.org





Thanks all for your response.

So If I write new java class which extends AbstractProcessor and build the
project. I can see in the  processor list in UI?.



--
View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/develop-custom-processor-tp558p564.html
Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message