Future not supported in BulkheadAspect
See original GitHub issueHi, resiliency4j team, I was looking into BulkheadAspect
code in resiliency4j-spring
module. I see for ThreadPool
mode we only support CompletionStage
. Is it possible to support plain java Futures
as well?
See code here
if (CompletionStage.class.isAssignableFrom(returnType)) {
....
} else {
throw new IllegalStateException("ThreadPool bulkhead is only applicable for completable futures ");
}
Can you suggest an alternative route if we want to support java Future. Thanks in advance!
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
fatal error C1189: #error: <future> is not supported when ...
1 Answer 1 ... Make sure QThread doesn't include when clr is enabled. I have done conditional compilation for my project include #ifndef ......
Read more >Z06 motor trouble - Page 7 - CorvetteForum - Chevrolet Corvette ...
LS2 and LS3 use gen IV ECU and are not compatible with the C5. ... If you want more headroom for the future...
Read more >MICROSERVICES FOR THE PM - LinkedIn
An example, if the home delivery feature of a telemedicine app stops working that should not shut the entire app down.
Read more >Everything About Microservices: What, Why and How!
Bulkhead aspect of microservices make it far more resilient than the ... The possibilities of feature addition with microservices are not ...
Read more >'ADA07911? S0 1 8 - DTIC
supplied the said drawings, specifications or other data, is not regarded by ... Recc,,nendations and sug8estions for future work are also presented.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pulkitmehra can you please explain more why you still need to use the plain java future and can not use the completable future ?
@RobWin @Romeh @clgroft , pls review this https://github.com/resilience4j/resilience4j/pull/738. Its WIP, I am looking for some early comments from you guys. Thanks!