EventMesh Dashboard 处于开发中,将支持 Connection 管理、集群健康检查等功能。欢迎联系 EventMesh 小助手参与贡献。
EventMesh 于 v1.8.0 ~ v1.10.0 期间维护的 Dashboard 纯前端项目位于 Next.js Dashboard 分支。
EventMesh Dashboard 每周开发例会文档:https://docs.qq.com/doc/DQmhVbklUdGNNWGZi
- JDK 8/11
- Maven 3.9.x
- Spring Boot 2.7.x
- eventmesh-dashboard-console 业务模块的代码,调用service接口
- eventmesh-dashboard-observe 监控模块的代码
- eventmesh-dashboard-core 对EventMesh Runtime, Meta以及相关组件的代码,提供service实现
- eventmesh-dashboard-service 公用API接口,对core的抽象
- eventmesh-dashboard-common 公共模块的代码
- eventmesh-dashboard-view 前端代码
当仓库代码更新后,脚本将基于最新版本的代码构建并运行 EventMesh Dashboard。
cd ~/service
git clone https://github.com/apache/eventmesh-dashboard.git
cd eventmesh-dashboard/deployment/
编辑凭据:
cp .env.example .env
vim .env
添加定时任务:
crontab -e
0 * * * * bash ~/service/eventmesh-dashboard/deployment/auto-deploy-eventmesh-dashboard.sh
cd eventmesh-dashboard
./mvnw clean package
TODO download mysql-connector-j manually
java -DDB_ADDRESS=$DB_ADDRESS -DDB_USERNAME=$DB_USERNAME -DDB_PASSWORD=$DB_PASSWORD -jar eventmesh-dashboard-console/target/eventmesh-dashboard-console-0.0.1-SNAPSHOT.jar
To be updated
cd eventmesh-dashboard
./gradlew clean bootJar
docker build -t yourname/eventmesh-dashboard -f docker/Dockerfile .
docker run -d --name eventmesh-dashboard -p 8080:8080 yourname/eventmesh-dashboard
- 配置格式化
- 后端格式文档地址:https://eventmesh.apache.org/zh/community/contribute/contribute/
- 前端使用 eslint
- 配置协议头工具 license-eye。
- 检查命令:license-eye header check
- 使用命令:license-eye header fix
- 下载地址: https://skywalking.apache.org/downloads/