升级
pib 升级
2022-12-7升级文档
2023-03-23 上线
2022-12-14发布
2023-02-15 上线
2023-02-22 上线
2023-03-01 上线
2023-03-08 上线
2023-03-15 上线
2023-03-22 上线
2023-03-29 上线
2023-04-06 上线
2023-04-12 上线
2023-04-13 上线
2023-04-19 上线
2023-04-25 上线
2023-04-24 上线
2023-04-27 上线
2023-05-09 上线
2023-05-17 上线
2023-05-18 上线
2023-05-24 上线
2023-05-30 上线
2023-05-31 上线
2023-06-07 上线
2023-6-12 上线
2023-6-14 上线
2023-6-15 上线
2023-6-27 上线
2023-06-28 上线
2023-06-29 上线
2023-07-05 上线
2023-07-11 上线
2023-07-12 升级
2023-07-19 升级
2023-07-20 上线
2023-07-26 上线
2023-08-02 上线
2023-08-09 上线
2023-08-16 上线
2023-08-30 上线
2023-09-06 上线
2024-02-21 预升级
2024-03-13 上线
2024-06-26 上线
2024-11-13上线
2024-11-19 待升级
本文档使用 MrDoc 发布
-
+
首页
2023-03-08 上线
## 合并 > MC 下:mc-product-base-modules > MC 下:mc-biz-base-modules > MC 下: mabang-data-modal > M-LIS 下:mdc-tiktok-product > MPS-LIS 下:mps-wish-product > MPS-LIS 下:mps-amazon-product > MPS-LIS 下:mps-lazada-product > MPS-LIS 下:mps-product-allproducer > MPS-SCHED 下:mps-tiktok-meta > M-SCHED 下:mdc-meta-wish > M-OAPI 下:mdc-open-api-publish > M-OAPI 下: mdc-open-api-product > M-OAPI 下:mdc-open-api-information > mabang3-addl 下 mabang-data-publish-alibaba-icbu > mabang3-addl 下 mabang-shoplazzapublish > mabang3-addl 下 mabang-walmartpublish ## Nacos 配置文件 ### mdc-tiktok-product mdc-prd 下新建 mdc-tiktok-product-service.yml group:prd_mdc_group ```yml spring: autoconfigure: exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 datasource: dynamic: druid: initial-size: 5 max-active: 20 max-wait: 3000 validation-query: 'select 1' primary: publish_1 strict: true datasource: # 基础信息 publish_1: username: c1_kandeng password: c1_igVeU-y7Hx url: jdbc:mysql://tidb-kandeng.mabangerp.com:3306/mabang_publishtiktok?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource publish_2: username: c2_kandeng password: c2_igVeU-y7Hx url: jdbc:mysql://private-tidb-kandeng.mabangerp.com:3306/mabang_publishtiktok?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource publish_3: username: o1_kandeng password: o1_igVeU-y7Hx url: jdbc:mysql://mysql-overseas.mabangerp.com:3306/mabang_publishtiktok_overseas?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource # 店铺 shop_1: username: c1_mabang password: c1_j7p@KUqbnKp url: jdbc:mysql://mysql.mabangerp.com:3306/mabang?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource shop_2: username: c2_mabang password: c2_j7p@KUqbnKp url: jdbc:mysql://private-mysql.mabangerp.com:3306/mabang?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource shop_3: username: o1_mabang password: o1_j7p@KUqbnKp url: jdbc:mysql://mysql-overseas.mabangerp.com:3306/mabang_overseas?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource mybatis-plus: type-aliases-package: com.mabang.**.entity global-config: banner: false mps: #自定义消费者线程数 custom: env: prd mqType: rocketmq consumerThreadNum: category: 10 categoryAttribute: 50 mdc: api-doc: enable: true home-title: MDC-TIKTOK-API服务 log: enable: true cache: enable: true redis: enable: true auto-write: true primary: defaultTemplete servers: defaultTemplete: host: redis-publish.mabangerp.com port: 6379 password: 1lFccHspnNRWdop0 timeout: 10000 database: 0 dynamic-datasource: enable: true cluster-param-name: clusterId routes: publish: route-name: publish default-ds: publish_1 mapper-package: com.mabang.product.mapper.publish route-rule: publish_{clusterId} enableRouteRule: true shop: route-name: shop default-ds: shop_1 mapper-package: com.mabang.product.mapper.shop route-rule: shop_{clusterId} enableRouteRule: true logging: config: local-path: /data/logs logstash-server: mdc-dev-logstash.mabangerp.com:5602 rocketmq: name-server: rocketmq-mdc.mabangerp.com:9876 producer: group: mabang-rocketmq-receive ``` ### mdc-meta-wish mps-prd 下修改 mdc-meta-wish-service.yml group:prd_mdc_group ```yml mps: #QPS组件配置 qps: enable: true redisTemplateBean: qpsTemplete mdc: redis: enable: true auto-write: true primary: defaultTemplete servers: qpsTemplete: host: redis-mdc.mabangerp.com port: 6379 password: TW7dko1Rrq7xyPX3 timeout: 10000 database: 9 #分布式锁 redisson: enable: true single-address: redis-mdc.mabangerp.com:6379 password: TW7dko1Rrq7xyPX3 database: 9 timeout: 30000 ``` ## 工单 - [x] Wish 刊登表 类目属性添加 - [x] Wish 基础信息 类目 - [x] Wish 基础信息 类目属性 ## Pipeline、Jenkins mdc-tiktok-product: - [x] Pipeline 线上已配置 - [ ] Jenkins 线上未配置 ## 打包 > MC 下:mc-product-base-modules > MC 下:mc-biz-base-modules > MC 下:mabang-data-modal > MPS-LIS 下:mps-wish-product ## 构建 > M-LIS 下:mdc-tiktok-product > MPS-SCHED 下:mps-tiktok-meta > MPS-LIS 下:mps-wish-product > MPS-LIS 下:mps-lazada-product > MPS-LIS 下:mps-amazon-product > MPS-LIS 下:mps-product-allproducer > M-SCHED 下:mdc-meta-wish > M-OAPI 下:mdc-open-api-publish > M-OAPI 下: mdc-open-api-product > M-OAPI 下:mdc-open-api-information > MDC-MESSAGE 下:mabang-push-message > MDC-MESSAGE 下:mabang-receive-message > mabang3-addl 下:mabang-data-publish-alibaba-icbu > mabang3-addl 下:mabang-shoplazzapublish > mabang3-addl 下 mabang-walmartpublish
chenjunan
2023年3月8日 18:19
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码