Fork me on GitHub
#onyx
<
2020-01-06
>
thelittlesipper18:01:49

Anyone have an example of a task that sends an HTTP request and then passes along the response? The workflow would be something like input from kafka -> send a request to an api that does some calculations -> output to db The middle portion is what Im concerned with

thelittlesipper18:01:17

Would I have to write a custom function for the middle part or can the onyx-http plugin handle that?

kszabo18:01:32

we are doing exactly that, you want to write an fn that takes a batch of requests, fires them off in parallel and wait for all to complete

👍 4