Re: Multi-Tenancy in NiFi...

2016-08-16 Thread Matthew Clarke
Multi-tenancy is part of NiFi 1.0 and is not available in NiFi 0.6.

On Aug 16, 2016 5:13 PM, "Kulkarni, Suyog"  wrote:

> How is multi-tenancy implemented in NiFi? Is there any document that I can
> follow for setting this up in our environment? We are running 0.6 version
> of NiFi.
>
> Suyog Kulkarni
>
>
>
>
> This email transmission and any accompanying attachments may contain CSX
> privileged and confidential information intended only for the use of the
> intended addressee. Any dissemination, distribution, copying or action
> taken in reliance on the contents of this email by anyone other than the
> intended recipient is strictly prohibited. If you have received this email
> in error please immediately delete it and notify sender at the above CSX
> email address. Sender and CSX accept no liability for any damage caused
> directly or indirectly by receipt of this email.
>


Multi-Tenancy in NiFi...

2016-08-16 Thread Kulkarni, Suyog
How is multi-tenancy implemented in NiFi? Is there any document that I can 
follow for setting this up in our environment? We are running 0.6 version of 
NiFi.

Suyog Kulkarni




This email transmission and any accompanying attachments may contain CSX 
privileged and confidential information intended only for the use of the 
intended addressee. Any dissemination, distribution, copying or action taken in 
reliance on the contents of this email by anyone other than the intended 
recipient is strictly prohibited. If you have received this email in error 
please immediately delete it and notify sender at the above CSX email address. 
Sender and CSX accept no liability for any damage caused directly or indirectly 
by receipt of this email.


Re: Pooling connection factory for JMSConnectionFactoryProvider

2016-08-16 Thread Oleg Zhurakousky
Would you mind raising a JIRA as an improvement request and provide all the 
details and we can switch discussion there. I definitely do not want to ignore 
user feedback and experience, so let's discuss it there.

Cheers
Oleg

> On Aug 16, 2016, at 13:14, Chad Zobrisky  wrote:
> 
> Oleg,
> 
> I see that now.  I was thinking at the service level for the caching
> factory to allow more reuse, but am unsure if that would even be a good
> idea.
> 
> Chad
> 
> On Tue, Aug 16, 2016 at 12:18 PM Oleg Zhurakousky <
> ozhurakou...@hortonworks.com> wrote:
> 
>> Actually it is using caching connection factory (see AbstractJMSProcessor):
>> 
>> private volatile CachingConnectionFactory cachingConnectionFactory;
>> 
>> Can you please provide more details what you are doing and what/where you
>> are seeing this?
>> 
>> Cheers
>> Oleg
>> 
>> On Aug 16, 2016, at 12:10 PM, Chad Zobrisky  czobri...@gmail.com>> wrote:
>> 
>> Hello,
>> 
>> I ran into a case of many connections from a nifi instance to an ActiveMQ
>> hub and thought about pooled/cached connecitons.  I haven't seen any
>> discussion of adding either a new service for pooled/cached connections or
>> adding it to the current JMSConnectionFactoryProvider, via either
>> ActiveMQ's PooledConnectionFactory or Springs CachingConnectionFactory, for
>> reuse of connections, producers and sessions between processors.
>> 
>> I would like to work on this and was hoping to get suggestions about how to
>> best approach it.
>> 
>> Thanks,
>> Chad
>> 
>> 


Re: Pooling connection factory for JMSConnectionFactoryProvider

2016-08-16 Thread Chad Zobrisky
Oleg,

I see that now.  I was thinking at the service level for the caching
factory to allow more reuse, but am unsure if that would even be a good
idea.

Chad

On Tue, Aug 16, 2016 at 12:18 PM Oleg Zhurakousky <
ozhurakou...@hortonworks.com> wrote:

> Actually it is using caching connection factory (see AbstractJMSProcessor):
>
> private volatile CachingConnectionFactory cachingConnectionFactory;
>
> Can you please provide more details what you are doing and what/where you
> are seeing this?
>
> Cheers
> Oleg
>
> On Aug 16, 2016, at 12:10 PM, Chad Zobrisky > wrote:
>
> Hello,
>
> I ran into a case of many connections from a nifi instance to an ActiveMQ
> hub and thought about pooled/cached connecitons.  I haven't seen any
> discussion of adding either a new service for pooled/cached connections or
> adding it to the current JMSConnectionFactoryProvider, via either
> ActiveMQ's PooledConnectionFactory or Springs CachingConnectionFactory, for
> reuse of connections, producers and sessions between processors.
>
> I would like to work on this and was hoping to get suggestions about how to
> best approach it.
>
> Thanks,
> Chad
>
>


Re: Pooling connection factory for JMSConnectionFactoryProvider

2016-08-16 Thread Oleg Zhurakousky
Actually it is using caching connection factory (see AbstractJMSProcessor):

private volatile CachingConnectionFactory cachingConnectionFactory;

Can you please provide more details what you are doing and what/where you are 
seeing this?

Cheers
Oleg

On Aug 16, 2016, at 12:10 PM, Chad Zobrisky 
> wrote:

Hello,

I ran into a case of many connections from a nifi instance to an ActiveMQ
hub and thought about pooled/cached connecitons.  I haven't seen any
discussion of adding either a new service for pooled/cached connections or
adding it to the current JMSConnectionFactoryProvider, via either
ActiveMQ's PooledConnectionFactory or Springs CachingConnectionFactory, for
reuse of connections, producers and sessions between processors.

I would like to work on this and was hoping to get suggestions about how to
best approach it.

Thanks,
Chad



Pooling connection factory for JMSConnectionFactoryProvider

2016-08-16 Thread Chad Zobrisky
Hello,

I ran into a case of many connections from a nifi instance to an ActiveMQ
hub and thought about pooled/cached connecitons.  I haven't seen any
discussion of adding either a new service for pooled/cached connections or
adding it to the current JMSConnectionFactoryProvider, via either
ActiveMQ's PooledConnectionFactory or Springs CachingConnectionFactory, for
reuse of connections, producers and sessions between processors.

I would like to work on this and was hoping to get suggestions about how to
best approach it.

Thanks,
Chad