dowenliu-xyz
dowenliu-xyz
@xiaohuajun I think you should provide some Debug-able information, such as logs. If it's convenient, a minimum reproducible project would be great.
It's not a bug. Any method which is annotated with `@TimeLimiter` should return a `CompletionStage`. I've never write a request handler method which returns `CompletionStage`. It could be OK to...
> @dowenliu-xyz Thank you for the reply. Can you guide me because I'm new in this matter what behavior change should I expect if I use `CompletableFuture.supplyAsync.....`? CompletableFuture is a...
Seems duplicated with #2164 , and IMO both these two issue can be closed.
> @dowenliu-xyz I you like you can also join our slack channel I have a Slack account at [email protected]. But I don't stay online very often (I live in China,...
@rcbandit111 First please follow @RobWin's [reply](https://github.com/resilience4j/resilience4j/issues/2215#issuecomment-2390845493) in #2215 and adjust the return value type of your `getByTokenPayload` method to `CompletableFuture`. After that, the return type of your fallback method `fallbackRequestException`...
Java 17, SpringBoot 3.2.6, SpringCloud 2023.0.1.0, Sentinel 1.8.6, MacOS 14.5 m1 未复现
> I found this might be a sentinel problem. My test codes as below: > > ``` > @GetMapping("/rt") > public String rt() { > return restTemplate.getForObject("https://httpbin.org/delay/1", String.class); > }...
Notice that the `if` block of the method body itself is **not** atomic (it is compiled as a serial number of instructions). The original `synchronized` keyword guarantees the atomicity of...
I rechecked the code. Since there is no attempt anywhere to change the value from false to true, it should be guaranteed here that only one thread will execute the...