微服务 soa
2016-11-27 15:55:37 0 举报
AI智能生成
微服务zookeeper存储格式
作者其他创作
大纲/内容
v1
itzservices
timestamp
timestamp
com.itouzi.msg
{"protocol":"http","health_url":"\/health_check"}
{"protocol":"http","health_url":"\/health_check"}
providers
192.168.1.11:80
{"status":1,"weight":20}
{"status":1,"weight":20}
192.168.1.12:80:0
{"status":1,"weight":20}
{"status":1,"weight":20}
consumers
com.itouzi.iauth
{"protocol":"http","health_url":"\/health_check"}
{"protocol":"http","health_url":"\/health_check"}
providers
192.168.1.1:80:1
{"status":1,"weight":20}
{"status":1,"weight":20}
192.168.1.2:80
{"status":1,"weight":20}
{"status":1,"weight":20}
consumers
192.168.1.22 (EPHEMERAL)
192.168.1.21 (EPHEMERAL)
v2
itzservices
modify_time
modify_time
com.itouzi.msg(服务名称)
json格式,包含:projectname、servicename(域名方式)、owner、des、version、healthurl
json格式,包含:projectname、servicename(域名方式)、owner、des、version、healthurl
providers
192.168.1.11:80
{"status":1,"weight":20}
{"status":1,"weight":20}
192.168.1.12:80:0
{"status":1,"weight":20}
{"status":1,"weight":20}
consumers
192.168.1.22 (EPHEMERAL)
192.168.1.21 (EPHEMERAL)
0 条评论
下一页