Can HTTP Server Origin return output records?
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" : [
{results1},
{results2}
]
}
Is it possible to achieve this use case?