return CompletableFuture.supplyAsync(callable::call, CompletableFuture.delayedExecutor(delay, unit)); I dug into the JDK a bit and it's not exactly ideal the way things work for this use case since cancellation is not propagated to the underlying Delayer's Future. Here runAsync passes an Asyn...
java.util.concurrent.CompletionException: java.lang.RuntimeException: Intentional error to test Resiliency features at io.github.resilience4j.retry.configure.RetryAspect.lambda$handleJoinPointCompletableFuture$0(RetryAspect.java:196) at io.github.resilience4j.retry.Retry$AsyncRetryBlock.run(Retry.java:652...
at java.base/java.lang.Thread.run(Thread.java:829)Caused by: java.util.concurrent.ExecutionException: java.rmi.ConnectException: Connection refused to host: 172.26.39.249; nested exception is: java.net.ConnectException: Connection refused: connect at java.base/java.util.concurrent.Com...
Thread.run(Thread.java:745) Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2272) at net.minecraft.server.MinecraftServer.g_(SourceFile:390) ... 4 more Caused by: java.lang....
Wrapped by: java.util.concurrent.CompletionException: org.apache.pulsar.client.api.PulsarClientException$TimeoutException: The producer pulsar-49-52 can not send message to the topic persistent://publicXXX within given timeout \tat java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java...
[Trace - 15:46:40] Received response 'initialize - (0)' in 1947ms. Request failed: Internal error. (-32603). Error data: "java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar\r\n\tat java.util.concurrent.Completable...
import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.stream.Collectors; +import static org.hamcrest.Matchers.containsString; +import static org.hamcrest.Matchers.equalTo; ...
Future$AsyncRun.run(CompletableFuture.java:1632) at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1618) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util....
Describe the bug Feign client initialization is always lazy. As such, the first calling thread triggers the initialization, which may be another Spring component (e.g. REST controller) using CompletableFuture.supplyAsync() to do so. This...
Version(s) of Spring for Apache Kafka 3.4 Description I want to use ReplyingKafkaTemplate in order to implement Request-Reply messaging pattern with Kafka having end-to-end transactionality. I have tried many solutions and I concluded to...