Asynchronous Requests
FrEaKmAn opened this issue · 3 comments
Hi
If I'm not mistaken, this library uses HttpClient, but it could also use https://hc.apache.org/httpcomponents-asyncclient-dev/ to support async requests.
Are there any plans to support async?
Currently no plans to implement this. What are the specific use cases you are interested in? Are you mostly interested in reducing the number of connections to Kairos?
I think the desired behavior of using async client is to not block the application while writing to the external system (Kairos).
A workaround at the moment is to make the calls in a custom thread pool.
We don't currently have plans to implement an async client. We don't currenlty have the bandwidth to do the work. Its a great idea but as pointed out a simple solution is to use a pool of threads.