Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

使用DiscoveryAgent处理异步feign调用head丢失,不支持Supplier,需要获取返回值的场景 #8

Closed
ZhangLin16 opened this issue Nov 6, 2023 · 2 comments

Comments

@ZhangLin16
Copy link

5ad2ca9a6492ff354c63bff30aa34ae
目前测对Runnable可以支持,head不会丢。对需要获取返回值的情况,请问怎么处理,或者换种写法?目前使用CompletableFuture.supplyAsync(new Supplier<>())

@jinxbinder
Copy link

我也遇到了同样的问题,Supplier在业务中用的还挺多,希望后续支持这种场景

@HaojunRen
Copy link
Member

Fix by #9

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants