# meteor-curator **Repository Path**: eshopboss/meteor-curator ## Basic Information - **Project Name**: meteor-curator - **Description**: Meteor-curator-core 是一个对zookeeper操作的集成方案 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 12 - **Created**: 2018-11-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

# Meteor-curator-ui

java vue-elem vue element-ui Build Status license

简体中文 | [English](./README.en.md) ## 简介 - [Meteor-curator-core](https://github.com/18106960985/meteor-curator) 是一个对zookeeper操作的集成方案,其核心设计目的 - 对内高内聚、无入侵, 采用fastjson序列化与反序列化,内置了数据本地缓存,实现节点监听 - 对外开箱即用、易扩展、轻量级,提供丰富API方法,它可以帮助你快速的管理zookeeper。 - [Meteor-curator-web](https://github.com/18106960985/meteor-curator) 不光是 [Meteor-curator-core](https://github.com/18106960985/meteor-curator) 的一个小示例,它为 [Meteor-curator-core](https://github.com/18106960985/meteor-curator)提供了可视化操作,给使用者更舒服的体验。 - [Meteor-curator-admin](https://github.com/18106960985/meteor-curator-admin) 采用了居说是最新的前端技术栈的[vue-element-ui](https://github.com/PanJiaChen/vue-element-admin) 这里就不做更多阐述,在需要自定义UI的情况下请自行查看该项目说明 - [在线访问](http://111.230.210.81:7788/) - [使用文档](https://blog.csdn.net/qq_16882073/article/details/83622399) - [Gitee](https://panjiachen.gitee.io/vue-element-admin/) 码云地址 - [Meteor-curator](https://gitee.com/y747718944/meteor-curator) - [Meteor-curator-admin](https://gitee.com/y747718944/meteor-curator-admin) ## 系统架构图

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

# 使用手册 ## Maven依赖 ``` meteor-curator curator-core 0.0.1-SNAPSHOT ``` ## 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 = "/" ……………… ``` ## 前端开发 ```bash # 克隆项目 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 ## 发布 ```bash # 构建测试环境 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 / Edge](http://godban.github.io/browsers-support-badges/)
IE / Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | | --------- | --------- | --------- | --------- | | IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions ## License [MIT](https://github.com/PanJiaChen/vue-element-admin/blob/master/LICENSE) Copyright (c) 2017-present PanJiaChen