nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Fak <johnfa...@gmail.com>
Subject Re: DBCPConnectionPoolLookup
Date Fri, 04 Oct 2019 23:01:50 GMT
Awesome.... I'll try it next week and if I can get it to work I'll let you
know

Thx !!!

On Fri, Oct 4, 2019, 6:24 PM Peter Turcsanyi <turcsanyi@cloudera.com> wrote:

> Hi John,
>
> You need to add dynamic properties to DBCPConnectionPoolLookup controller
> service. The name of the property corresponds to database.name attribute,
> the value is the DBCPConnectionPool that can be looked up (by the name of
> the property).
> So the attribute database.name ties back to the name of the dynamic
> property, not to the name of the DBCPConnectionPool component.
>
> Please find attached my simple example. It contains only one
> DBCPConnectionPool that can be looked up, but a second one can be added in
> the same way.
>
> Regards,
> Peter Turcsanyi
>
> On Fri, Oct 4, 2019 at 10:13 PM John Fak <johnfak75@gmail.com> wrote:
>
>> Does someone have a basic example of using this ?
>> I really dont understand it. And it seems useful.
>>
>> Does the attribute database.name tie back to the "Name" of the
>> DBCPConnectionPool ?
>>
>> How do you pass that dynamically ?  Via some updateattibute processor ?
>>
>> Be great to see a very basic flow on connecting to two or more sources
>> dynamically.
>>
>>
>>
>>

Mime
View raw message