I have been using recently Java 8 new features CompletableFuture. This is a little feedback.
CompletableFuture : how to use them ?
It works the same way as javascript promises but with a crazy hard to remember syntax and plethora of methods.
I found this great webpage from Baeldung to guide me through the API :
http://www.baeldung.com/java-completablefuture
The result is this new version of the CQRS Module :
https://github.com/sleroy/spring-cqrs-arch
Fore more informations about that module, check there :
How to implement CQRS with Spring : new framework
Parallelism issues with Java software : useful links to troubleshoot
An example of code is here.