Looks like PostHttp interprets the response, and based on a series of
conditions can intentionally issue a delete.

I can't fully understand what is happening, but the code is here:
https://github.com/apache/nifi/blob/1bd2cf0d09a7111bcecffd0f473aa71c25a69845/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java#L754

Unless someone understands what is happening there, maybe InvokeHttp could
be used to make the post instead?

-Bryan


On Tue, Jun 7, 2016 at 1:53 PM, Edgardo Vega <[email protected]> wrote:

> Joe,
>
> We were testing with another nifi machine outside the elb to post a
> flowfile in using the PostHttp processor. It seems that on each post there
> is an immediate delete call. Behind the load balancer it goes haywire.
>
> Cheers,,
>
> Edgardo
>
> On Tue, Jun 7, 2016 at 8:40 AM, Joe Witt <[email protected]> wrote:
>
> > Edgardo
> >
> > Are you saying the clients are posting and then calling delete?
> >
> > Also the more complex but flexible options are handle http request and
> > response.
> >
> > Thanks
> > Joe
> > On Jun 7, 2016 7:04 AM, "Edgardo Vega" <[email protected]> wrote:
> >
> > > I wanted to throw Nifi behind a AWS ELB. I then have the ELB pointing
> at
> > > the nifi cluster. On the cluster I have a ListenHttp. I want to allow
> > > people to post flow files to that url.
> > >
> > > When testing this setup, it seems I am getting an error due to the fact
> > it
> > > seems like first there is a post and then a delete to confirm that it
> was
> > > posted. How do I get Nifi to stop doing that? I just want nifi to post
> > and
> > > if its get something larger than a 400 fail otherwise succeed.
> > >
> > >
> > > --
> > > Cheers,
> > >
> > > Edgardo
> > >
> >
>
>
>
> --
> Cheers,
>
> Edgardo
>

Reply via email to