-
注册中心使用nacos,在获取nacos服务列表时,获取到druid-admin服务的instanceId为空出现空指针。
bootstrap.yml配置
```
server:
port: 19999
spring:
application:
name: druid-admin
main:
allow-bean-definition-overridi…
-
creating a basic consul app with discovery and web only results in a critical health app in consul.
-
I'm working in implementing gRPC with Spring Cloud Consul. I'm using the yidongnan/grpc-spring-boot-starter.
The current implementation of ConsulCatalogWatch use the consul api method getCatalogServi…
-
2.能把Consul换成Eureka么?
-
- 不能每次要更新配置的时候都要重启服务
- 当然,配置不能是有问题的,但这个怎么保证呢
JPCui updated
5 years ago
-
As observed in https://github.com/spring-cloud/spring-cloud-consul/issues/555, when using `management.server.port = 0` calls to `ManagementServerPortUtils.getPort` return 0, rather than the dynamic as…
-
i am write a websocket server with spring websocket and spring-cloud-starter-alibaba-nacos-discovery. my WebSocketConfig code :
public class WebSocketConfig implements WebSocketConfigurer {
@Bean
…
-
I'm using spring-cloud-gateway to dynamically redirect to services registered in consul, but in my case, the same serviceId may have different tags for different instance. For example:
service ID: us…
-
consul version :1.10.1
envoy version:1.18.3
whe use[ Sidecar Service Registration](https://www.consul.io/docs/connect/registration/sidecar-service)
```json
{
"Connect": {
"Sideca…
-
编译,启动。
配置如下:
spring:
application:
name: druid-admin
main:
allow-bean-definition-overriding: true
cloud:
consul:
enabled: false
host: localhost
port: 85…