redismanager用于管理Redis的数据,支持Redis单机和集群下数据的查询,添加,修改,删除;支持自定义 key,value 的序列化方式。
redismanager/
├── redismanager-cacher/ 缓存模块
├── redismanager-common/ 公共模块
├── redismanager-config/ 配置模块
├── redismanager-config-sdk/ 配置SDK模块
├── redismanager-core/ 核心模块
├── redismanager-dao/ DAO模块
├── redismanager-limiter/ 限流模块
├── redismanager-model/ 模型模块
├── redismanager-token/ Token模块
├── redismanager-uid-generator/ UID模块
├── redismanager-web/ WEB模块
├── ……
└── ……
由于项目使用了 zookeeper(版本:3.6.0+ ),redis(版本:3.0.5+),mysql(版本:5.x.x,不支持 8.x.x),因此你需要提前准备好这些环境,这里不再赘述
- 执行 redismanager/doc/sql/中的
redisadmin-create-db.sql
脚本,创建一个名称为redisadmin的数据库(相关的表会在应用启动时自动创建)
备注:应用首次启动时把application.yml中的spring.datasource.initializationMode设置为ALWAYS,spring.datasource.continueOnError设置为false(这样设置如果脚本执行有问题才会进行报错提示)
应用后续启动时把application.yml中的中的spring.datasource.initializationMode设置为NEVER或者把 spring.datasource.initializationMode设置为ALWAYS,spring.datasource.continueOnError设置为true - 修改 redismanager-web 模板
config/config-local.properties
文件中数据库,redis,zookeeper 的连接和配置 - 启动 redismanager-web 模块中的 RedisManagerWebApplication 类
- 正常启动后,访问 http://127.0.0.1
用户(权限从大到小): superadmin, admin, develop, test
密码: 888888
仪表盘 | 个人页 |
---|---|
用户管理 | 角色管理 |
配置管理 | Redis连接管理 |
Redis-Operational | |
见 CHANGELOG 文件
MIT License
Copyright (c) 2021 tuanzuo
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.