zhuxt2015 commented on code in PR #11144: URL: https://github.com/apache/dolphinscheduler/pull/11144#discussion_r956751629
########## dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-raft/README.md: ########## @@ -0,0 +1,34 @@ +# Introduction + +This module is the RAFT consensus algorithm registry plugin module, this plugin will use raft cluster as the registry center. + +# How to use + +If you want to set the registry center as raft, + +you need to set the registry properties in master/worker/api's appplication.yml, + +worker and api address add `/learner` suffix in `server-address-list`, indicates that they are not participate in the leader election. + +`please remember change the server-port in appplication.yml`. + +NOTE: In production environment, in order to achieve high availability, the master must be an odd number e.g 3 or 5. + +```yaml +registry: + type: raft + cluster-name: dolphinscheduler + server-address-list: 127.0.0.1:8181,127.0.0.1:8182/learner,127.0.0.1:8183/learner Review Comment: can not use this style -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
