feature(all): 切换使用zookeeper作为注册中心
This commit is contained in:
@@ -1,20 +1,19 @@
|
||||
spring:
|
||||
cloud:
|
||||
zookeeper:
|
||||
enabled: false
|
||||
enabled: true
|
||||
connect-string: 127.0.0.1:2181
|
||||
discovery:
|
||||
enabled: ${spring.cloud.zookeeper.enabled}
|
||||
root: /hudi-services
|
||||
instance-host: localhost
|
||||
instance-id: ${spring.application.name}-${spring.cloud.zookeeper.discovery.instance-host}-${random.uuid}-${datetime:19700101}
|
||||
instance-id: ${spring.application.name}-${hostname}-${random.uuid}-${datetime:19700101}
|
||||
eureka:
|
||||
instance:
|
||||
hostname: localhost
|
||||
prefer-ip-address: true
|
||||
instance-id: ${spring.application.name}-${eureka.instance.hostname}-${random.uuid}-${datetime}
|
||||
client:
|
||||
enabled: true
|
||||
enabled: false
|
||||
service-url:
|
||||
defaultZone: http://localhost:35670/eureka/
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
Reference in New Issue
Block a user