Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

LoadBalancer扩展SPI支持 #69

Closed
chywwq opened this issue Aug 14, 2018 · 4 comments
Closed

LoadBalancer扩展SPI支持 #69

chywwq opened this issue Aug 14, 2018 · 4 comments

Comments

@chywwq
Copy link

chywwq commented Aug 14, 2018

能够支持loadbalancer策略的扩展,满足如session粘滞类的需求。

@fengjiachun
Copy link
Owner

@chywwq 使用方式参考下我写的example

@fengjiachun
Copy link
Owner

@chywwq 我想了一下, 改为扩展ExtSpiLoadBalancerFactory支持自定义负载均衡, 这样你可以通过ExtSpiLoadBalancerFactory来扩展多种负载均衡, 代价是需要多指定一个name(唯一标识), 如果不指定name, 只能扩展一种

@chywwq
Copy link
Author

chywwq commented Aug 17, 2018

@fengjiachun SPI已经验证通过,等Factory的SPI扩展机制ready,再改

@fengjiachun
Copy link
Owner

@chywwq ExtSpiLoadBalancerFactory早已ready啦 :)

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

No branches or pull requests

2 participants