[2025-06-17] 修复链接问题
Some checks failed
Publish to Confluence / confluence (push) Failing after 54s

This commit is contained in:
liuxiaohua 2025-06-25 11:38:04 +08:00
parent f67dd09a28
commit 624ba298c1
7 changed files with 237 additions and 104 deletions

View File

@ -27,9 +27,9 @@
### 涉及项目
| 项目 | 分支 | 发布顺序 | 数据库变更 | 配置变更 | 负责人 | 备注 |
|------------------|------------------------------------|------|-----------------------|-------------------------|-----|----------------------------|
| qifu-saas-eg | master | 5 | [数据库脚本DDL](#数据库脚本DDL) | [Nacos配置文件](#Nacos配置文件) | 刘晓华 | 注意配置文件中需要修改的部分需要修改为对应环境的数据 |
| 项目 | 分支 | 发布顺序 | 数据库变更 | 配置变更 | 负责人 | 备注 |
|--------------|--------|------|-----------------------|-------------------------|-----|----------------------------|
| qifu-saas-eg | master | 5 | [数据库脚本DDL](#数据库脚本DDL) | [Nacos配置文件](#Nacos配置文件) | 刘晓华 | 注意配置文件中需要修改的部分需要修改为对应环境的数据 |
### 附件
@ -38,7 +38,8 @@
##### qifu-saas-eg数据库DDL
```sql
ALTER TABLE `eg_order_order`
ADD COLUMN `region` varchar(25) NOT NULL DEFAULT '' COMMENT '信息来源,参考 XXXRegionEnum' AFTER `id`;
```
##### qifu-saas-eg数据库DML
@ -48,10 +49,43 @@
```
#### Nacos配置文件 (开发测试)
#### Nacos配置文件
```yaml
yuanmeng:
web:
filter:
external-url-list:
- "/order/oauth/accessToken"
- "/order/oauth/status"
- "/order/sync"
- "/order/sync/get"
- "/wework/authorize-url-resend"
oss:
# minio 配置,需要修改为对应环境的
endpoint: http://10.168.2.236:9000
region: cn-shenzhen
access-key: nJ6zxA2tJdnXEgOl
secret-key: h5ahuWxxa5dQyCwrr6is3gJKbgFx0mrk
bucket-name: automation
path-style-access: true
qifu:
eg:
wework-map:
keyfil:
oauth-redirect-uri: https://qifu.uat-api.keyfil.com/qifu-saas-eg/wework/oauth/texous
oauth-success-redirect-url:
webhook-map:
onboarding-message: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=51ab2ee2-8610-4066-a32e-a4e84011103d
order-sync-error: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5121784f-9366-4afc-8033-55f30ada5d6c
iam:
# keycloak 配置,需要修改为对应环境的
server-url: http://172.17.229.32:18080
realm: master
username: admin
password: admin
work-realm: keyfil
```
### 其余配置
@ -61,8 +95,13 @@
----
## 开发说明
> 开发分支feat/20250611-orderfix
### 功能列表
- 派送翼优化
- lazada联调问题修复
- 新员工入职信息发送

View File

@ -0,0 +1,11 @@
### 新员工入职指引
#### 授权域账号(必须操作)
> <font color="red">授权必须在企微里面进行,浏览器无效</font>
> 点击 [授权链接](授权链接占位符) 进行授权
#### WIFI 账号密码
> wifi: `yuanmeng`, 密码: `YmQf1223`
> wifi: `RC-soft5`, 密码: `YmQf1223`打卡需要连该WiFi
> wifi: `RC-SOFT5`, 密码: `YmQf1223`打卡需要连该WiFi

View File

@ -0,0 +1,29 @@
<!-- Space: qifu -->
<!-- Parent: 后端技术&知识&规范 -->
<!-- Parent: 技术方案 -->
<!-- Parent: 基建 -->
<!-- Parent: 05-技术调研 -->
<!-- Title: 20250619-Mock平台调研 -->
<!-- Macro: :anchor\((.*)\):
Template: ac:anchor
Anchor: ${1} -->
<!-- Macro: \!\[.*\]\((.+)\)\<\!\-\- width=(.*) \-\-\>
Template: ac:image
Url: ${1}
Width: ${2} -->
<!-- Macro: \<\!\-\- :toc: \-\-\>
Template: ac:toc
Printable: 'false'
MinLevel: 2
MaxLevel: 4 -->
<!-- Include: 杂项/声明文件.md -->
<!-- :toc: -->
# Mock平台调研
## 参考
- [WireMock](https://github.com/wiremock/wiremock)
- [hoverfly](https://github.com/SpectoLabs/hoverfly)

View File

@ -23,4 +23,17 @@ https://member.track123.com/login
## UPS
https://developer.ups.com/apiDashboard?loc=zh_CN
zhoumei@keyfil.com
YmQf1223YmQf1223
YmQf1223YmQf1223
## 对公账号:
### TRACK123.
https://member.track123.com/order
账号17681809216
密码123456aA.
密钥51065074e6dc43aa995bf3d7db53374e
### 17track
https://admin.17track.net/api/settings
账号zhangxinxin@keyfil.com
密码00uBYf31
密钥AB905010AF804EE4CA84009BBBB4A4EC

View File

@ -1,18 +1,79 @@
ebay功能和接口对应整理
ebay交互流程梳理
电商订单整体交互流程梳理
ebay授权接口对接
ebay拉单接口对接
ebay定时拉单
ebay同步更新接口需要确定有没有
ebay截单接口对接
ebay订单状态回传接口对接
内外部订单信息字段映射
电商授权RPC接口
电商授权状态查询
电商订单列表接口
电商订单状态同步接口
电商订单截单接口
订单状态回传接口
单测
自测
2025-06-24 10:42:42,079 ERROR [mysql-connector-to-etm|task-0] Encountered change event 'Event{header=EventHeaderV4{timestamp=1750728336000, eventType=TABLE_MAP, serverId=1, headerLength=19, dataLength=162, nextPosition=998903090, flags=0}, data=TableMapEventData{tableId=10742, database='qifu_saas_owms', table='outbound_order', columnTypes=8, 8, 8, 8, 8, 15, 15, 15, 3, -10, 8, 15, 15, 3, 1, 15, 8, 15, 15, 8, 15, 15, 15, 3, 15, 15, 15, 1, 3, 8, 8, 8, -10, 8, 8, 8, -10, 15, 15, 15, 8, 3, 8, 3, 3, 15, 3, 8, 8, 3, 3, 15, 8, 15, 8, 8, 15, 8, 8, 3, columnMetadata=0, 0, 0, 0, 0, 384, 512, 512, 0, 1556, 0, 384, 512, 0, 0, 512, 0, 512, 512, 0, 512, 512, 800, 0, 200, 800, 800, 0, 0, 0, 0, 0, 788, 0, 0, 0, 532, 900, 1020, 1020, 0, 0, 0, 0, 0, 3072, 0, 0, 0, 0, 0, 1020, 0, 128, 0, 0, 128, 0, 0, 0, columnNullability={2, 3, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 55, 56, 57, 59}, eventMetadata=null}}' at offset {transaction_id=6f54a8d9-71a4-11ef-bfb2-00163e105ad2:85818558, file=mysql-bin.000113, pos=998902025, gtids=6f54a8d9-71a4-11ef-bfb2-00163e105ad2:1-85818557, server_id=1, event=2} for table qifu_saas_owms.outbound_order whose schema isn't known to this connector. One possible cause is an incomplete database schema history topic. Take a new snapshot in this case.
Use the mysqlbinlog tool to view the problematic event: mysqlbinlog --start-position=998902909 --stop-position=998903090 --verbose mysql-bin.000113 (io.debezium.connector.binlog.BinlogStreamingChangeEventSource) [blc-mysql.qifu.svc.cluster.local:3306]
2025-06-24 10:42:42,081 ERROR [mysql-connector-to-etm|task-0] Error during binlog processing. Last offset stored = {transaction_id=6f54a8d9-71a4-11ef-bfb2-00163e105ad2:85818558, file=mysql-bin.000113, pos=998902025, gtids=6f54a8d9-71a4-11ef-bfb2-00163e105ad2:1-85818557, server_id=1, event=2}, binlog reader near position = mysql-bin.000113/998902909 (io.debezium.connector.binlog.BinlogStreamingChangeEventSource) [blc-mysql.qifu.svc.cluster.local:3306]
2025-06-24 10:42:42,082 ERROR [mysql-connector-to-etm|task-0] Producer failure (io.debezium.pipeline.ErrorHandler) [blc-mysql.qifu.svc.cluster.local:3306]
io.debezium.DebeziumException: Error processing binlog event
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.handleEvent(BinlogStreamingChangeEventSource.java:591)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.lambda$execute$17(BinlogStreamingChangeEventSource.java:209)
at com.github.shyiko.mysql.binlog.BinaryLogClient.notifyEventListeners(BinaryLogClient.java:1281)
at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:1103)
at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:657)
at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:959)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: io.debezium.DebeziumException: Encountered change event for table qifu_saas_owms.outbound_order whose schema isn't known to this connector
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.informAboutUnknownTableIfRequired(BinlogStreamingChangeEventSource.java:996)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.informAboutUnknownTableIfRequired(BinlogStreamingChangeEventSource.java:1048)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.handleUpdateTableMetadata(BinlogStreamingChangeEventSource.java:797)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.lambda$execute$4(BinlogStreamingChangeEventSource.java:178)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.handleEvent(BinlogStreamingChangeEventSource.java:571)
... 6 more
2025-06-24 10:42:42,086 INFO [mysql-connector-to-etm|task-0] Error processing binlog event, and propagating to Kafka Connect so it stops this connector. Future binlog events read before connector is shutdown will be ignored. (io.debezium.connector.binlog.BinlogStreamingChangeEventSource) [blc-mysql.qifu.svc.cluster.local:3306]
2025-06-24 10:42:43,135 INFO [mysql-connector-to-etm|task-0] WorkerSourceTask{id=mysql-connector-to-etm-0} Committing offsets for 6144 acknowledged messages (org.apache.kafka.connect.runtime.WorkerSourceTask) [task-thread-mysql-connector-to-etm-0]
2025-06-24 10:42:43,147 ERROR [mysql-connector-to-etm|task-0] WorkerSourceTask{id=mysql-connector-to-etm-0} Task threw an uncaught and unrecoverable exception. Task is being killed and will not recover until manually restarted (org.apache.kafka.connect.runtime.WorkerTask) [task-thread-mysql-connector-to-etm-0]
org.apache.kafka.connect.errors.ConnectException: An exception occurred in the change event producer. This connector will be stopped.
at io.debezium.pipeline.ErrorHandler.setProducerThrowable(ErrorHandler.java:67)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.handleEvent(BinlogStreamingChangeEventSource.java:591)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.lambda$execute$17(BinlogStreamingChangeEventSource.java:209)
at com.github.shyiko.mysql.binlog.BinaryLogClient.notifyEventListeners(BinaryLogClient.java:1281)
at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:1103)
at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:657)
at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:959)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: io.debezium.DebeziumException: Error processing binlog event
... 7 more
Caused by: io.debezium.DebeziumException: Encountered change event for table qifu_saas_owms.outbound_order whose schema isn't known to this connector
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.informAboutUnknownTableIfRequired(BinlogStreamingChangeEventSource.java:996)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.informAboutUnknownTableIfRequired(BinlogStreamingChangeEventSource.java:1048)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.handleUpdateTableMetadata(BinlogStreamingChangeEventSource.java:797)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.lambda$execute$4(BinlogStreamingChangeEventSource.java:178)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.handleEvent(BinlogStreamingChangeEventSource.java:571)
... 6 more

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,48 @@
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw-jetbrains-plugin",
"elements": [
{
"id": "Xo-lR6rbRSLxlttflMnq1",
"type": "text",
"x": 874,
"y": 239,
"width": 314.05078125,
"height": 41.4,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 378856173,
"version": 60,
"versionNonce": 199762093,
"isDeleted": false,
"boundElements": null,
"updated": 1750241857766,
"link": null,
"locked": false,
"text": "KEYFIL 低代码平台",
"fontSize": 36,
"fontFamily": 2,
"textAlign": "left",
"verticalAlign": "top",
"baseline": 33,
"containerId": null,
"originalText": "KEYFIL 低代码平台",
"lineHeight": 1.15
}
],
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
},
"files": {}
}