升级
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-08-02 上线
# 一.合并 `MC` 下 `product` 下 `mc-product-base-modules` `MC` 下 `mc-biz-base-modules` `MPS-SCHED` 下 `mps-tiktok-meta` `MPS-SCHED` 下 `mps-mercadolibre-meta` `MPS-LIS` 下 `mps-lazada-product` `MPS-LIS` 下 `mps-mercadolibre-product` `M-LIS` 下 `mdc-shein-product` `M-OAPI` 下 `mdc-open-api-product` `M-OAPI` 下 `mdc-open-api-information` `M-OAPI` 下 `mdc-open-api-publish` # 二.配置文件更新 1、`M-LIS` 下 `mdc-mercadolibre-product-service.yml` ```yaml spring: datasource: dynamic: datasource: # 刊登 publish_1: username: c1_kandeng password: c1_igVeU-y7Hx url: jdbc:mysql://tidb-kandeng.mabangerp.com:3306/mabang_publishmercadolocal?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_publishmercadolocal?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 # 在线商品 productlocal_1: username: c1_kandeng password: c1_igVeU-y7Hx url: jdbc:mysql://tidb-kandeng.mabangerp.com:3306/mabang_mercadolocalitem?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 productlocal_2: username: c2_kandeng password: c2_igVeU-y7Hx url: jdbc:mysql://private-tidb-kandeng.mabangerp.com:3306/mabang_mercadolocalitem?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 # 在线商品 - 店铺 item_1: username: c1_kandeng password: c1_igVeU-y7Hx url: jdbc:mysql://tidb-kandeng.mabangerp.com:3306/mabang_item?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 item_2: username: c2_kandeng password: c2_igVeU-y7Hx url: jdbc:mysql://private-tidb-kandeng.mabangerp.com:3306/mabang_item?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 mdc: redisson: enable: true single-address: redis-mdc.mabangerp.com:6379 password: TW7dko1Rrq7xyPX3 database: 1 timeout: 10000 dynamic-datasource: enable: true cluster-param-name: clusterId routes: publish: route-name: publish default-ds: publish_1 mapper-package: com.mabang.product.mercadolibre.mapper.publish route-rule: publish_{clusterId} enableRouteRule: true productlocal: route-name: productlocal default-ds: productlocal_1 mapper-package: com.mabang.product.mercadolibre.mapper.productlocal route-rule: productlocal_{clusterId} enableRouteRule: true item: route-name: item default-ds: item_1 mapper-package: com.mabang.product.mercadolibre.mapper.item route-rule: item_{clusterId} enableRouteRule: true elasticsearch: enable: true server: uris: http://es-kandeng.mabangerp.com:9200 username: kandeng password: bDAenXPy0YaxjHxC2nLe connection-timeout: 5000 socket-timeout: 30000 ``` 2、`mps-prd` 下 `mps-mercadolibre-product-service.yml` ```yaml mdc: cache: mps-meta: enable: true redis-template-bean: mpsMetaCacheTemplate mdc-meta: enable: true redis-template-bean: mdcMetaCacheTemplate redis: enable: true auto-write: true primary: defaultTemplete servers: mpsMetaCacheTemplate: host: redis-mdc.mabangerp.com port: 6379 password: TW7dko1Rrq7xyPX3 timeout: 10000 database: 12 mdcMetaCacheTemplate: host: redis-mdc.mabangerp.com port: 6379 password: TW7dko1Rrq7xyPX3 timeout: 10000 database: 12 mps: #自定义消费者线程数 custom: env: loc mqType: rabbitmq-kandeng consumerThreadNum: publishLocal: 20 shopProductLocal: 10 productLocal: 40 ``` 2、`mps-prd` 下 `mps-mercadolibre-meta-service.yml` ```yaml mdc: cache: mps-meta: enable: true redis-template-bean: mpsMetaCacheTemplate mdc-meta: enable: true redis-template-bean: mdcMetaCacheTemplate redis: enable: true auto-write: true primary: defaultTemplete servers: mpsMetaCacheTemplate: host: redis-mdc.mabangerp.com port: 6379 password: TW7dko1Rrq7xyPX3 timeout: 10000 database: 12 mdcMetaCacheTemplate: host: redis-mdc.mabangerp.com port: 6379 password: TW7dko1Rrq7xyPX3 timeout: 10000 database: 12 ``` # 三. jenkins新增 无 # 四.build-package `MC` 下 `product` 下 `mc-product-base-modules-build-package` `MC` 下 `mc-biz-base-modules-build-package` `MPS-SCHED` 下 `mps-tiktok-meta-build-package` `MPS-SCHED` 下 `mps-mercadolibre-meta-build-package` `MPS-LIS` 下 `mps-mercadolibre-product-build-package` # 五.jenkins发布 `MPS-SCHED` 下 `mps-tiktok-meta` `MPS-SCHED` 下 `mps-mercadolibre-meta` `M-LIS` 下 `mdc-mercadolibre-product` `MPS-LIS` 下 `mps-lazada-product` `MPS-LIS` 下 `mps-ozon-product` `MPS-LIS` 下 `mps-mercadolibre-product` `M-LIS` 下 `mdc-shein-product` `M-OAPI` 下 `mdc-open-api-product` `M-OAPI` 下 `mdc-open-api-information` `M-OAPI` 下 `mdc-open-api-publish` `M-OAPI` 下 `mdc-iapi-product` `MDC-MESSAGE` 下 `mabang-receive-message` `MDC-MESSAGE` 下 `mabang-push-message`
chenjunan
2023年8月2日 20:32
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码