'Does all api request will be served even if server is responding the api slowly

I am making an app in which I am getting thousands of data from Kafka queue and I am sending it to some API's one at a time, if I await for the API to finish sending one data then move to next API it takes lot of time, but when I don't await for API service it is getting done faster, but some-time it gives time out error from the server, is it because I am not awaiting for each request?

                          
                 |->sending data to api1(awaiting/not awaiting for API to finish then move to next)
 Kafka queue --->|->sending data to api2(awaiting/not awaiting for API to finish then move to next)
                 |->sending data to api3(awaiting/not awaiting for API to finish then move to next)


Solution 1:[1]

If you Didnot await It will work. There will be no problem.

But you cannot know if the api is success or not.

May be your problem will rectified if you use seperate consumers for seperate apis to with seperate topics in kafka.

Please Update question with the error If this is not not your expected answer

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Noted you are watching