spring-httpserver-timings icon indicating copy to clipboard operation
spring-httpserver-timings copied to clipboard

not working for async rest method with CompletableFuture

Open kirmandi opened this issue 2 years ago • 2 comments

using this library, even without having a method of async type annotated with @Traceable, results always in empty content.

see https://spring.io/guides/gs/async-method/ for async method with CompletableFuture example.

any endpoint just returns no content and also has content-length 0, seems like the interceptor is not working correctly here.

kirmandi avatar Oct 24 '22 13:10 kirmandi

I am facing the same issue. Any update on the fix @sercasti ?

michalrrcc avatar Jan 19 '23 15:01 michalrrcc

Yes, as soon as I come back from my vacations I'll work on this, feel free to post a PR

On Thu, Jan 19, 2023, 12:02 michalrrcc @.***> wrote:

I am facing the same issue. Any update on the fix @sercasti https://github.com/sercasti ?

— Reply to this email directly, view it on GitHub https://github.com/sercasti/spring-httpserver-timings/issues/10#issuecomment-1397113073, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK6FT355KONQZU5BMS2243WTFJQTANCNFSM6AAAAAARM64OKA . You are receiving this because you were mentioned.Message ID: @.***>

sercasti avatar Jan 19 '23 17:01 sercasti