Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • P product
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • codia
  • product
  • Wiki
  • 消息规范

消息规范 · Changes

Page history
Update 消息规范 authored Oct 04, 2019 by Yu Yin's avatar Yu Yin
Hide whitespace changes
Inline Side-by-side
消息规范.md
View page @ dac7a30c
...@@ -9,9 +9,12 @@ ...@@ -9,9 +9,12 @@
### 基本范式 ### 基本范式
模块间交互主要通过如下两种范式: 模块间交互主要通过如下两种范式:
* Publish/Subscribe * Pub/Sub
* RPC * RPC
## 日志 ## 日志
日志采用 Pub/Sub 范式,所有日志均发布于 `logging.#` topic 下。具体而言,核心模块日志发布在 `logging.core.#`,外部模块日志发布在对应名称下(如 `logging.judge.#`)。
日志消息格式由各模块自行决定,但应当遵循基本原则:消息中只包含日志内容,不包含消息类型(通过 topic 指定)、消息时间(消息本身已附带)。
## 外部方法调用 ## 外部方法调用
\ No newline at end of file
Clone repository
  • 20211223meeting
  • Logging
  • Home
  • 产品开发流程
  • 产品设计目标概述
  • 代码重构
  • 消息规范
  • 生产环境部署
  • 目标用户画像
  • 第二轮迭代
  • 系统架构
  • 评测器编写
  • 项目分工