You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by sanjeet rath <ra...@gmail.com> on 2019/10/20 16:05:14 UTC
Clarification Regarding custom controller service & AWS-CREDENTIAL-CONTROLER-SERVICE
Hi Team,
I have a requirement of building a custom
controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) and custom processor
service(NIFI-AWS-SERVICE).for puts3Object.
Already code changes are done for both of it. and i am building 2 separate
nars .
The custom controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) nar contain
dependency of custom processor service(NIFI-AWS-SERVICE).
So for puts3Object processor, it should use my custom controller service.
My question is, Should i build 2 separate nars , 1 for custom processor
service(NIFI-AWS-SERVICE) and 1 for custom
controller service(AWS-CREDENTIAL-CONTROLER-SERVICE). and putting both the
nars , in lib folder to make nifi work.
Or should i build only 1 nar file for custom
controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) as it has a pom
dependency of custom processor service(NIFI-AWS-SERVICE).
Please clarify.
Regards,
Sanjeet
--
Sanjeet Kumar Rath,
mob- +91 8777577470
Re: Clarification Regarding custom controller service & AWS-CREDENTIAL-CONTROLER-SERVICE
Posted by sanjeet rath <ra...@gmail.com>.
Thanks Joe and i am extremely sorry being impatient(bcoz today i have a
solution meeting to give the details).
I have gone through the nifi developer guide But i am not able to
understand how puts3Object processor is getting my custom
awscrdentailProvider controller dependency.as i have never given this
dependency in pom.And from the document its saying it is dynamically its
loading the implementation of the controller service by the class loader.
whenever you have time please explain, how NIFI-AWS-PROCESSOR service is
getting the dependency of AWS-CRDENTAIL-CONTROLER custom controller.
Already the pom of AWS-CRDENTAIL-CONTROLER custom controller contain
dependency of custom NIFI-AWS-PROCESSOR .
Regards,
Sanjeet
On Mon, Oct 21, 2019 at 8:12 AM Joe Witt <jo...@gmail.com> wrote:
> Sanjeet
>
> Your e-mail was sent 10 hours ago and is during the weekend. Please be
> patient.
>
> I would do two nars. The controller service nar and the processor nar
> which depends on it. This way you can have other processor nars that also
> depend on that controller service nar if necessary.
>
> Thanks
>
> On Sun, Oct 20, 2019 at 10:26 PM sanjeet rath <ra...@gmail.com>
> wrote:
>
>> Hi Team,
>>
>> Please clarify my trailed mail query.
>>
>>
>> On Sun, 20 Oct, 2019, 9:35 PM sanjeet rath, <ra...@gmail.com>
>> wrote:
>>
>>> Hi Team,
>>>
>>> I have a requirement of building a custom
>>> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) and custom processor
>>> service(NIFI-AWS-SERVICE).for puts3Object.
>>> Already code changes are done for both of it. and i am building 2
>>> separate nars .
>>> The custom controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) nar
>>> contain dependency of custom processor service(NIFI-AWS-SERVICE).
>>>
>>> So for puts3Object processor, it should use my custom controller service.
>>>
>>> My question is, Should i build 2 separate nars , 1 for custom processor
>>> service(NIFI-AWS-SERVICE) and 1 for custom
>>> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE). and putting both the
>>> nars , in lib folder to make nifi work.
>>>
>>> Or should i build only 1 nar file for custom
>>> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) as it has a pom
>>> dependency of custom processor service(NIFI-AWS-SERVICE).
>>>
>>> Please clarify.
>>>
>>> Regards,
>>> Sanjeet
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Sanjeet Kumar Rath,
>>> mob- +91 8777577470
>>>
>>>
--
Sanjeet Kumar Rath,
mob- +91 8777577470
Re: Clarification Regarding custom controller service & AWS-CREDENTIAL-CONTROLER-SERVICE
Posted by Joe Witt <jo...@gmail.com>.
Sanjeet
Your e-mail was sent 10 hours ago and is during the weekend. Please be
patient.
I would do two nars. The controller service nar and the processor nar
which depends on it. This way you can have other processor nars that also
depend on that controller service nar if necessary.
Thanks
On Sun, Oct 20, 2019 at 10:26 PM sanjeet rath <ra...@gmail.com>
wrote:
> Hi Team,
>
> Please clarify my trailed mail query.
>
>
> On Sun, 20 Oct, 2019, 9:35 PM sanjeet rath, <ra...@gmail.com>
> wrote:
>
>> Hi Team,
>>
>> I have a requirement of building a custom
>> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) and custom processor
>> service(NIFI-AWS-SERVICE).for puts3Object.
>> Already code changes are done for both of it. and i am building 2
>> separate nars .
>> The custom controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) nar
>> contain dependency of custom processor service(NIFI-AWS-SERVICE).
>>
>> So for puts3Object processor, it should use my custom controller service.
>>
>> My question is, Should i build 2 separate nars , 1 for custom processor
>> service(NIFI-AWS-SERVICE) and 1 for custom
>> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE). and putting both the
>> nars , in lib folder to make nifi work.
>>
>> Or should i build only 1 nar file for custom
>> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) as it has a pom
>> dependency of custom processor service(NIFI-AWS-SERVICE).
>>
>> Please clarify.
>>
>> Regards,
>> Sanjeet
>>
>>
>>
>>
>>
>> --
>> Sanjeet Kumar Rath,
>> mob- +91 8777577470
>>
>>
Re: Clarification Regarding custom controller service & AWS-CREDENTIAL-CONTROLER-SERVICE
Posted by sanjeet rath <ra...@gmail.com>.
Hi Team,
Please clarify my trailed mail query.
On Sun, 20 Oct, 2019, 9:35 PM sanjeet rath, <ra...@gmail.com> wrote:
> Hi Team,
>
> I have a requirement of building a custom
> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) and custom processor
> service(NIFI-AWS-SERVICE).for puts3Object.
> Already code changes are done for both of it. and i am building 2 separate
> nars .
> The custom controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) nar
> contain dependency of custom processor service(NIFI-AWS-SERVICE).
>
> So for puts3Object processor, it should use my custom controller service.
>
> My question is, Should i build 2 separate nars , 1 for custom processor
> service(NIFI-AWS-SERVICE) and 1 for custom
> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE). and putting both the
> nars , in lib folder to make nifi work.
>
> Or should i build only 1 nar file for custom
> controller service(AWS-CREDENTIAL-CONTROLER-SERVICE) as it has a pom
> dependency of custom processor service(NIFI-AWS-SERVICE).
>
> Please clarify.
>
> Regards,
> Sanjeet
>
>
>
>
>
> --
> Sanjeet Kumar Rath,
> mob- +91 8777577470
>
>