You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Sivaprasanna <si...@gmail.com> on 2018/06/19 13:06:25 UTC

Setting values as System properties

Team,

As part of NIFI-5133, I started doing some bit of research on Google Cloud
PubSub service and it's support on proxy configuration and came to know
that the service uses 'gRPC' so the proxy configuration is expected to be
at the System properties level. I know this approach is not good and
believe it has to be avoided but wanted to know the community's thoughts on
this.

Thanks,
Sivaprasanna

Re: Setting values as System properties

Posted by James Wing <jv...@gmail.com>.
I agree it is not what we would hope for.  But I have not found any
information to contradict you.  The proxy setting we use now for Google
Cloud Storage apparently does not apply to Google Cloud PubSub.

What user experience would you propose?  It seems reasonable that a user
might be able to configure the setting globally, if they know that is what
they are doing.  It would be bad if configuring the properties on one
processor set a global proxy setting that had a wide impact.  It might be
better to simply document that proxy use requires the configuration of
environment variables with a global impact.

On Tue, Jun 19, 2018 at 6:06 AM Sivaprasanna <si...@gmail.com>
wrote:

> Team,
>
> As part of NIFI-5133, I started doing some bit of research on Google Cloud
> PubSub service and it's support on proxy configuration and came to know
> that the service uses 'gRPC' so the proxy configuration is expected to be
> at the System properties level. I know this approach is not good and
> believe it has to be avoided but wanted to know the community's thoughts on
> this.
>
> Thanks,
> Sivaprasanna
>