Created 06-18-2017 07:44 AM
I am trying to use invokeHttp to ingest data from an Oauth2 authenticated streaming endpoint authorized with "client_credentials".
The flow works fine to grab a new token. I suspect this is because that response terminates.
But, when trying to call the endpoint that streams (which has no termination or Content-Length), it sits there with an open connection but no response.
I can test the endpoint and get the streaming data no problem with curl (or httpie with the --streams flag).
Any suggestion?
Created 06-20-2017 04:13 AM
@Alvaro Muir Unfortunately InvokeHttp isn't currently built to transfer the chunks as individual FlowFiles for chunk transfer encoded responses.
In lieu of that I think you have a few options:
Created 06-20-2017 04:13 AM
@Alvaro Muir Unfortunately InvokeHttp isn't currently built to transfer the chunks as individual FlowFiles for chunk transfer encoded responses.
In lieu of that I think you have a few options:
Created 06-20-2017 04:20 AM
Thanks @jfrazee ! I came to this conclusion hours after I posted this question. It seems like a customer processor is the way to go. Started working on developing it today.