1 Star 0 Fork 12

liuye / meteor-curator

forked from Meteor / meteor-zookeeper 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Meteor-curator-ui

java vue-elem vue element-ui Build Status license

简体中文 | English

简介

系统架构图

如有问题请先看上述使用文档和文章,若不能满足,欢迎 issue 和 pr

使用手册

Maven依赖

<dependency>
    <groupId>meteor-curator</groupId>
    <artifactId>curator-core</artifactId>
    <version>0.0.1-SNAPSHOT</version>
</dependency>

meteor.yml配置

# zookeeper服务器地址  默认为:"localhost:2181"  可以多个使用","隔开 如: zk-1:2181,zk-2:2181,zk-3:2181
servers: localhost:2181
# 项目以哪个节点作为根节点 不推荐 "/"作为根节点。 默认节点为"/"
rootPath: /cloud
# 重连次数 默认 10次
connCount: 10
#重新连接的间隔时间 默认 5秒
connInterval: 5000
#seessiont 超时时间 默认 180000毫秒
sesstionTimeOut: 180000
#连接超时时间 默认 60000毫秒
connTimtOut: 60000
# 监听节点 类型为List  curator-admin项目推荐 监听"/",其他项目请自行斟酌
listener:
          - /cloud
# 忽略监听节点 类型为List   
listenerIgnores:
          - /meteor

使用方式

可以引入meteor.yml 请放置在resource下 。或者 为 CuratorConfig.java内的静态变量赋值 如

 CuratorConfig.ZK_SERVERS = localhost:2181
 CuratorConfig.ROOT_PATH = "/"
 ………………

前端开发

# 克隆项目
git clone https://github.com/18106960985/meteor-curator-admin.git

# 安装依赖
npm install

# 建议不要用 cnpm 安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev

浏览器访问 http://localhost:9527

发布

# 构建测试环境
npm run build:sit

# 构建生产环境
npm run build:prod

#打包完成后将src平级的 meteor文件里的内容复制到 后端项目 curator-admin 的 main/resources/下 依托spring boot内嵌的tomcat运行.
#这是为了开发分离,部署合并

Browsers support

Modern browsers and Internet Explorer 10+.

IE / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

License

MIT

Copyright (c) 2017-present PanJiaChen

MIT License Copyright (c) 2018-present meteor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Meteor-curator-core 是一个对zookeeper操作的集成方案 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/stvliu/meteor-curator.git
git@gitee.com:stvliu/meteor-curator.git
stvliu
meteor-curator
meteor-curator
master

搜索帮助