Ask Your Question

Can HTTP Server Origin return output records?

asked 2017-12-12 02:49:27 -0500

Vivian Y gravatar image

updated 2017-12-12 15:37:17 -0500

metadaddy gravatar image

Can i use the StreamSets HTTP Server Origin to process something and only return the results after having done some processing?

For example : I want to send an API request to StreamSets, http://localhost:8000/ with object:

  "condition": [
      "code": "100"
  "table": "sales_master"

and then use a processor to translate this above object to a query select code_desc from sales_master where code="100" for use in the JDBC Lookup Processor.

Then I want to return the results in an object and return it back to the requester.

  "status" : 200,
  "results" : [

Is it possible to achieve this use case?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-12-12 15:32:11 -0500

metadaddy gravatar image

No - the HTTP Server Origin just returns 200 OK HTTP status on successful processing.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-12-12 02:49:27 -0500

Seen: 322 times

Last updated: Dec 12 '17