From 2bf8f4e5c14a490ab76b03ef1e384f3f1a7f2730 Mon Sep 17 00:00:00 2001 From: AdamGao Date: Fri, 20 Mar 2026 10:30:38 +0800 Subject: [PATCH] vault backup: 2026-03-20 10:30:38 --- .obsidian/workspace.json | 17 +++++++------- 技术研究/Kafka King.md | 51 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 58 insertions(+), 10 deletions(-) diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index f726806..0c192fb 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -4,21 +4,21 @@ "type": "split", "children": [ { - "id": "f3a0b6ce66892376", + "id": "00b9515bc94d05af", "type": "tabs", "children": [ { - "id": "049a82752dce7304", + "id": "4931177056436858", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "settings/archived/公司工作/资源汇总/创医元公司信息.md", + "file": "技术研究/Kafka King.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "创医元公司信息" + "title": "Kafka King" } } ] @@ -84,8 +84,7 @@ "title": "Notebook Navigator" } } - ], - "currentTab": 1 + ] } ], "direction": "horizontal", @@ -210,8 +209,10 @@ "components:AI 对话(新标签页)": false } }, - "active": "049a82752dce7304", + "active": "4931177056436858", "lastOpenFiles": [ + "技术研究/Kafka King.md", + "settings/archived/公司工作/资源汇总/创医元公司信息.md", "企业用工员工端测试用例.md", "技术研究/openclaw/收集的一些openclaw的资源.md", "技术研究/openclaw", @@ -219,7 +220,6 @@ "FleetingNotes/其他项目/量化工具/缠论研习社/Drawing 2025-12-27 11.32.14.excalidraw.md", "FleetingNotes/智慧校园/1.0功能模块梳理.canvas", "2026/20260212.md", - "技术研究/Kafka King.md", "2026", "技术研究/腾讯企业邮箱STMP&POP发信设置.md", "Pasted image 20260112154922.png", @@ -253,7 +253,6 @@ "FleetingNotes/其他项目/亲子时光/deployment.md", "FleetingNotes/其他项目/亲子时光/界面功能与接口.canvas", "FleetingNotes/其他项目/亲子时光/tasks/阅读统计明细接口.md", - "FleetingNotes/其他项目/亲子时光/tasks/阅读故事统计 ,添加翻页到底的标识入参.md", "FleetingNotes/其他项目/量化工具/缠论研习社/我和小明.pdf", "Untitled.base", "FleetingNotes/数字人项目", diff --git a/技术研究/Kafka King.md b/技术研究/Kafka King.md index 7e2c955..5042916 100644 --- a/技术研究/Kafka King.md +++ b/技术研究/Kafka King.md @@ -1 +1,50 @@ -https://github.com/Bronya0/Kafka-King \ No newline at end of file +```mermaid + +C4Container + + title 系统容器图 + Person(user, "用户", "使用控制台交互") + System_Boundary(system, "QMTBridge系统") { + Container(console, "控制台", "Python", "用户交互界面") + Container(main_kernel, "主内核", "Python", "系统初始化和流程控制") + Container(runtime_manager, "策略运行时", "Python", "策略生命周期管理") + ContainerDb(database, "SQLite数据库", "SQLite", "存储账户、持仓、成交记录") + ContainerBoundary(gateway, "网关") { + Container(data_gateway, "数据网关", "Python", "统一数据接口") + Container(trade_gateway, "交易网关", "Python", "统一交易接口") + } + ContainerBoundary(backends, "后端实现") { + Container(price_backend, "价格后端", "Python", "获取股票价格") + Container(stock_backend, "股票列表后端", "Python", "获取股票列表") + Container(calendar_backend, "日历后端", "Python", "交易日历") + Container(live_backend, "实时行情后端", "Python", "实时行情推送") + Container(simulate_trade, "模拟交易后端", "Python", "模拟成交") + } + + } + + + + Rel(user, console, "交互") + + Rel(console, main_kernel, "启动") + + Rel(main_kernel, data_gateway, "数据请求") + + Rel(main_kernel, trade_gateway, "交易请求") + + Rel(main_kernel, runtime_manager, "策略管理") + + Rel(main_kernel, database, "持久化") + + Rel(data_gateway, price_backend, "获取价格") + + Rel(data_gateway, stock_backend, "获取股票列表") + + Rel(data_gateway, calendar_backend, "交易日历") + + Rel(data_gateway, live_backend, "实时行情") + + Rel(trade_gateway, simulate_trade, "模拟交易") + +``` \ No newline at end of file