We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当我用docker创建好了consul容器 以dev方式启动后,在http://localhost:8500/ui/dc1/services 页面中是可以看到consul-client服务的.调用client的dc方法也可正常获取到服务列表.但是使用loadBalancerClient.choose("consul-client")时,获取到的服务为null.导致下面的服务调用直接报空指针异常.请问大神这个是为什么. docker的consul启动命令如下: $ docker run -d --name=dev-consul -p 8500:8500 consul
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当我用docker创建好了consul容器 以dev方式启动后,在http://localhost:8500/ui/dc1/services 页面中是可以看到consul-client服务的.调用client的dc方法也可正常获取到服务列表.但是使用loadBalancerClient.choose("consul-client")时,获取到的服务为null.导致下面的服务调用直接报空指针异常.请问大神这个是为什么.
docker的consul启动命令如下:
$ docker run -d --name=dev-consul -p 8500:8500 consul
The text was updated successfully, but these errors were encountered: