mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
5.0
This commit is contained in:
@@ -4,6 +4,11 @@ package com.gitee.sop.registry;
|
||||
* @author 六如
|
||||
*/
|
||||
public class RegistryMain {
|
||||
|
||||
/*
|
||||
内置简单的注册中心,基于zookeeper,用来开发演示使用.
|
||||
生产环境不可使用!
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
int zkPort = 2181;
|
||||
System.out.println("启动内置zookeeper注册中心(仅在开发环境下使用),port=" + zkPort);
|
||||
|
Reference in New Issue
Block a user