TAN RD

Results 7 comments of TAN RD

I have the same problem. I thought this way may solve it: Schedule Task ping redis if error occur, then call: `LettuceConnectionFactory.validateConnection`

@yangbodong22011 That's what I mean. Must use the same Connection. Also ,I found the similar issue #1428 . It recommends setting keepalive parameters for the underlying TCP connection. If the...

可以,感谢大佬

可以参考EurekaRibbonClientConfiguration的实现,通过@RibbonClients的defaultConfiguration配置,自定义一个RibbonClientConfiguration,然后在里头自定义实现一个serverlist的bean。

> 可以参考EurekaRibbonClientConfiguration的实现,通过@RibbonClients的defaultConfiguration配置,自定义一个RibbonClientConfiguration,然后在里头自定义实现一个serverlist的bean。 https://github.com/wpstan/CustomZuulRibbon 这里实现了一个自定义zuul路由规则以及,自定义listOfServers的ribbon后台主机服务。

push两份,一份github,一份coding。买个域名解析两CNAME。