-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
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
nodeID cann't config when use Json #60
Comments
my mind is: when I monitor zookeeper, I can fast found my application by node's name or node's data {
nodeID: 'account-center#ip#pid#uuid',
nodeData: '{appId: "account-center", ip: "192.168.1.2", pid: "1123"}'
} |
Hi @takeseem, cmd options
Hoping that it will help you..... |
nodeID be managed by vertx-zk-cluster, it can not be passed with |
@stream1984 , We do agree its not a good idea to take nodeID from users. But, consider a deployment having a large number of service running then it becomes difficult for dev-ops to track which service is down even though we use zk watcher since UUID are non-intuitive. |
After zk is disconnected, the cluster node needs to be re-registered, but the nodeId in this join method is generated using UUID, so there is no way to re-register to zk |
in join method
nodeID = UUID.randomUUID().toString()
, i think it is better in the conscutor.Example:
ZookeeperClusterManager.nodeId
The text was updated successfully, but these errors were encountered: