I'm not aware of ways to obtain configurations of a controller from a
processor. Those should be encapsulated inside a controller service.
If you'd like to create DataSource instance instead of just obtaining
a connection, this discussion might be helpful:
Although I would not recommend, if you really need to obtain all
configurations, you can do so by calling NiFi REST API from your
On Thu, Aug 10, 2017 at 10:09 AM, 尹文才 <batman...@gmail.com> wrote:
> Hi guys, I have a customized processor with a DBCP controller service as a
> property. I could get the DBCP controller service in my code, but does
> anyone know how to obtain all the configurations of the DBCP controller
> service in java code(e.g. Database Connection URL, Database Driver
> Location, etc) Thanks.