lizhanhui opened a new issue, #4458: URL: https://github.com/apache/rocketmq/issues/4458
The existing codebase contains many callbacks, obscuring overall readability, bringing much overhead to new developers and development maintenance. At the language level, Java has provided CompletableFuture, which is so expressive that neat and simplified solutions are possible. Refer to [folly future](https://github.com/facebook/folly/blob/main/folly/docs/Futures.md) and [this blog](https://tech.meituan.com/2022/05/12/principles-and-practices-of-completablefuture.html) to see a potential difference. Shall RocketMQ progressively refactor callback hell to Future-based styles? Opinions are welcome. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
