---
# System prepended metadata

title: 20220617 会议纪要

---

# 20220617 会议纪要

Date: 20220617 14:30

Slide: [google slide](https://docs.google.com/presentation/d/1MPgboLVeYMyyxOT06kGoJcMeb3XNPaSPxCLR1f6WxO0/edit?usp=sharing)

---

[TOC]

## Note

1. 拆分部属
    - 配置中心 
    - ReportDog 
    - 资料仓储(ES) 
2. 前端使用配置中心选择域名
3. gRPC API 也需要移植

## Architecture


```mermaid
flowchart TD

subgraph VN

vnq[Kafka]
vni[Ingest]
vnd[DigestAPI]
vnes[(ES)]
vnsql[(MySQL)]
vnm[(Mongo)]

vnq --> vni --> vnes
vnd --> vnes & vnm & vnsql
end

subgraph BZ

bzq[Kafka]
bzi[Ingest]
bzd[DigestAPI]
bzes[(ES)]
bzsql[(MySQL)]
bzm[(Mongo)]

bzq --> bzi --> bzes
bzd --> bzes & bzm & bzsql
end


bzm --> |"master"| vnm
```


## Use cases

### Query local report

```mermaid
flowchart TD

u[User]

subgraph VN

vnd[DigestAPI]
vnes[(ES)]
vnsql[(MySQL)]
vnm[(Mongo)]

vnd --> vnes & vnm & vnsql
end

u --> |Query| vnd 
```

### Query cross daily report

```mermaid
flowchart TD

u[User]

subgraph VN

vnd[DigestAPI]
vnsql[(MySQL)]
vnm[(Mongo)]

vnd --> vnm & vnsql
end

subgraph BZ
bzm[(Mongo)]
end


bzm --> |"master/slaver"| vnm

u --> |Query BZ daily| vnd 
```


### Query cross realtime report 

```mermaid
flowchart LR

u[User]

subgraph VN

vnd[DigestAPI]
vnsql[(MySQL)]

vnd --> vnsql
end

subgraph BZ
bzes[(ES)]
end

u --> |Query BZ real time| vnd 
vnd --> bzes
```