Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Custom Nifi Processor can't see existing ControllerService

avatar
New Member

Hi,

I am developing custom SQL nifi processor which will execute batch of SQL statements. It is not state of the art, but i just want to start developing.

Problem is that my processor can't see active DBCPConnectionPool services. All other SQL components which are preinstalled in nifi can see it.

I only have option to create new service, and when i do it complains that is not valid controller service, and i can see ID in property field.

I'm clearly doing something wrong, but i cant find out what.

Any hint is more then welcome.

1 ACCEPTED SOLUTION

avatar
Master Guru

This is most likely a dependency issue between your custom NAR and the controller service.

Please see this Wiki page:

https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExten...

And this example:

https://github.com/bbende/nifi-dependency-example

View solution in original post

2 REPLIES 2

avatar
Master Guru

This is most likely a dependency issue between your custom NAR and the controller service.

Please see this Wiki page:

https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExten...

And this example:

https://github.com/bbende/nifi-dependency-example

avatar
New Member

Hi Bryan,

This solved the problem, thank you.

I was reading this https://nifi.apache.org/developer-guide.html, and i will check wiki also.

Best

Bojan