Nifi How to use eclipse to develop your own processor (top)

Source: Internet
Author: User

1> to create your own working directory

2> Check if the system has MAVEN and JDK installed

3> Execute command mvn archetype:generate in working directory (you can enter the values you want to set by referencing the contents of the red box)

4> Modify auto-generated programs: newprocessor\scc-processors\nifi-demo-processors\src\main\java\scc\processors\demo\ Myprocessor.java

5> Execute mvn Install command in Artifactid directory

6> Copy the Nifi-demo-nar-1.0.nar file generated by step 5th to the Nifi Lib directory

Newprocessor\scc-processors\nifi-demo-nar\target\nifi-demo-nar-1.0.nar

-

Nifi-1.0.0-bin\lib\nifi-demo-nar-1.0.nar

7> start the Nifi service to test if your own processor is successful

a> start Nifi: Double-click Run-nifi.bat

B> Launch Browser Enter: http://127.0.0.1: (Your Nifi port) in the URL bar/nifi

Nifi How to use eclipse to develop your own processor (top)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.