Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Custom Nifi Processor can't see existing ControllerService

avatar
Contributor

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
Contributor

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