nacos-sdk-python icon indicating copy to clipboard operation
nacos-sdk-python copied to clipboard

namespace "public" is "" in program,add_naming_instance and send_heartbeat cluster_name is different when this parameter is not entered

Open HWTsang opened this issue 4 years ago • 1 comments

why is the "public" namespace be "" client.add_naming_instance("", "1.0.0.7", 8080)


client.add_naming_instance("test.service1", "1.0.0.7", 8080) the cluster name will be None


client.send_heartbeat("test.service1", "1.0.0.7", 8080) the cluster name will be DEFAULT

HWTsang avatar Jan 14 '21 12:01 HWTsang

namespace参数写上public后,会出现两个集群,过一段时间集群名为None的会消失 ,剩下DEFAULT

Orangeices avatar May 12 '21 03:05 Orangeices