UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_base redis-database: 6 server: port: 18011 # Dubbo配置 dubbo: application: metadata-service-protocol: tri protocol: port: 28011 quickfixj: client: message-store-factory: file log-factory: file spring: cloud: config: override-system-properties: false allow-override: true override-none: true management: endpoint: health: show-details: always quickfixjclient: access: unrestricted ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-exchange-fix-engine-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := 'server: # 关机 shutdown: graceful spring: application: name: ${app.service-name} cloud: nacos: # 注册中心 discovery: enabled: true server-addr: nacos:8848 service: ${app.service-name}-app namespace: dev group: app-server messages: basename: i18n/messages output: ansi: enabled: ALWAYS boot: admin: metadata-keys-to-sanitize: [".password$"] ui: title: ${UI_TITLE:G3FO Server Monitor} codec: max-in-memory-size: 1MB # Swagger配置 swagger: application-name: ${app.service-name}-api application-description: ${app.service-name}模块接口文档 springdoc: info: version: 1.5.0.20 contact: name: g3support email: g3support@afe.hk swagger-ui: path: /swagger-ui.html tagsSorter: alpha api-docs: path: /v3/api-docs group-configs: - group: ''default'' paths-to-match: ''/**'' packages-to-scan: com.afe.g3fo knife4j: enable: true setting: language: zh_cn # 日志配置 logging: config: classpath:logging.xml file: name: /data/logs/${app.service-name}/info/info.log path: /data/logs/${app.service-name} root-level: WARN level: com.afe: INFO org.apache.dubbo: ERROR quickfix.mina.message: INFO io.debezium: WARN management: endpoints: web: exposure: include: "*" #对外开放所有监控点 enabled-by-default: true endpoint: info: enabled: true #配置属性 configprops: show-values: always #环境变量 env: enabled: true show-values: always #health必须开 health: show-details: always enabled: true #其他 beans: enabled: true logfile: external-file: ${logging.file.name} shutdown: enabled: true # 任务调度 powerjob: worker: app-name: ${app.service-name} protocol: http server-address: powerjob-server:7700 actuator-url: http://172.18.0.1:19000/cluster/customActuator # mybatis拦截器记录删除日志,排除部分表不做记录 db-delete-logs.table.include.list: g3fo_admin.m_admin,g3fo_admin.m_admin_login,m_admin_role_rights,g3fo_base.m_market,g3fo_base.m_system_code,g3fo_trade.m_order,g3fo_trade.m_trade,g3fo_user.m_account,g3fo_user.m_user,g3fo_user.m_client,g3fo_user.m_account_cash_hold,g3fo_user.m_account_cash_movement,g3fo_user.m_account_order_hold,g3fo_user.m_account_product_hold,g3fo_user.m_account_trade_license,g3fo_user.m_user_login,g3fo_user.m_user_login_history,g3fo_user.m_user_client_relations,g3fo_user.m_group_item,g3fo_user.m_client_account_relations # WebDAV配置 webdav: # 是否启用WebDAV enabled: true # WebDAV服务器地址 server-url: http://172.18.0.1:5002 # WebDAV用户名 username: admin # WebDAV密码 password: afe1234 # 缓存有效期(毫秒) cache-ttl-ms: 300000 ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'common.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := ' ${spring:logging.file.path} ${spring:spring.application.name} %xwEx %5p yyyy-MM-dd HH:mm:ss.SSS %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5level - %c:%L - %m%n %d{${sys:LOG_DATEFORMAT_PATTERN}} ${sys:LOG_LEVEL_PATTERN} %pid --- [%t] %-40.40c{1.} : %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD} ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'log4j2-nacos' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_admin redis-database: 3 #是否开启结果包含异常信息, 默认false enableResultIncludeExceptions: true enableCache: false server: port: 18003 spring: servlet: multipart: max-file-size: 512MB max-request-size: 512MB enabled: true file-size-threshold: 0 springdoc: info: title: G3-Admin-API description: Admin模块接口文档 # Dubbo配置 dubbo: application: metadata-service-protocol: tri # metadata-service-port: 28102 protocol: port: 28003 misttrack: api: key: "your_api_key_here" ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-admin-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: redis-database: 8 server: port: 18008 # Dubbo配置 dubbo: application: metadata-service-protocol: tri # metadata-service-port: 28102 protocol: port: 28008 scheduler: fixed: rate: 2000 alertpro: serverPath: "https://www.afe.com.hk/asdbhandler/" userId: "hwg3otp1" password: "0527g3" callerId: "HWG3" senderName: "HW Alert" senderEmail: "admin@e-hingwai.com" areaCode: "852" alertProId: "john@dev" # real mobile token required tradeAccountNumber: "12345678" sendLanguage: "ENG" notificationEnable : true ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-notification-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := 'app: db-name: g3fo_admin redis-database: 3 server: port: 18012 dubbo: application: metadata-service-protocol: tri protocol: port: 28012 logging: level: root: info io.debezium: WARN # 监听binlog debezium: enabled: true name: g3fo converter.schemas.enable: false offset.storage.redis: address: redis:6379 password: afe123456 db.index: 3 schema.history.internal.redis: address: redis:6379 password: afe123456 db.index: 3 offset.flush.interval.ms: 10000 # always | initial | no_data | when_needed | recovery snapshot.mode: when_needed database: server.id: 1 hostname: mysql port: 3306 user: ${spring.datasource.dynamic.datasource.mysql.username} password: ${spring.datasource.dynamic.datasource.mysql.password} serverTimezone: UTC include.list: g3fo_admin,g3fo_base,g3fo_trade,g3fo_user,g3fo_margin useMinimalServerLocks: true # table.exclude.list: g3fo_admin.m_table_data_change_log,g3fo_user.t_user_account_ref,g3fo_user.t_user_child_user_ref,g3fo_user.t_user_client_ref,g3fo_admin.m_table_field_map table.include.list: g3fo_admin.m_admin,g3fo_admin.m_admin_login,m_admin_role_rights,g3fo_base.m_market,g3fo_base.m_system_code,g3fo_trade.m_order,g3fo_trade.m_trade,g3fo_user.m_account,g3fo_user.m_user,g3fo_user.m_client,g3fo_user.m_account_cash_hold,g3fo_user.m_account_cash_movement,g3fo_user.m_account_order_hold,g3fo_user.m_account_product_hold,g3fo_user.m_account_trade_license,g3fo_user.m_user_login,g3fo_user.m_user_login_history,g3fo_user.m_user_client_relations,g3fo_user.m_group_item,g3fo_user.m_client_account_relations topic.prefix: g3fo transforms: tz transforms.tz: type: io.debezium.transforms.TimezoneConverter converted.timezone: Asia/Shanghai # 指定连接器是否应记录所有 DDL 语句 schema.history.internal.store.only.captured.tables.ddl: true # 指定连接器是否应忽略格式错误或未知的数据库语句或停止处理,以便人们可以解决问题 schema.history.internal.skip.unparseable.ddl: true errors.max.retries: 0 decimal.handling.mode: string report: # 自动导出时间 export-time: ''05:25:00'' # 自动导出模板 automatic-export-template: OrderBook,OrderDetail,OrderApproval,SystemNotification,UserChangePassword # 自动导出路径 automatic-export-path: /report/daily # 导出报表的路径 export-path: /report/record # 最大并发数量,同时导出数 max-concurrent-tasks: 1 # 导出队列 queue-capacity: 100 # 保存导出记录时间 file-retention-days: 7 # 模板缓存时间 template-cache-time-ms: 60000', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-utility-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_product redis-database: 6 server: port: 18006 springdoc: info: title: G3-Product-API description: 产品模块接口文档 # Dubbo配置 dubbo: application: metadata-service-protocol: tri protocol: port: 28006 dto: SEHKmappingMap: f153: spreadCode f252: bestBidQty f253: bestAskQty f287: premium f301: dayHigh f302: dayLow f303: prevClose f304: nominal f309: bestBidPrice f310: bestAskPrice f322: open f372: volume f373: turnover f1106: tradeDate f401 : engName f402 : localName f5 : suspensionFlag f307 : bidSpreadUnit f308 : askSpreadUnit OSLmappingMap: f302 : dayLow f401 : engName f301: dayHigh f322: open f304: nominal f303: prevClose mappingMap: f153: spreadCode f252: bestBidQty f253: bestAskQty f287: premium f301: dayHigh f302: dayLow f303: prevClose f304: nominal f309: bestBidPrice f310: bestAskPrice f322: open f372: volume f373: turnover f1106: tradeDate f401 : engName f402 : localName f5 : suspensionFlag f307 : bidSpreadUnit f308 : askSpreadUnit ws: loginMap: Req: RqLogin UserID: g3sftest1123 ProductID: AI Version: 1.0.0.1 siteID: AFEint prodID: AI loginUrl: http://mdc.afe.com.hk/wsiapi/GetAuthKey websocketUrl: ws://mdc.afe.com.hk/stream mode: master: webSocketConfig: userId: "g3sftest112" slave: webSocketConfig: userId: "g3sftest11" multicast: groups: - group: 225.4.32.136 port: 6000 netWorkInterface: ens33 timeOut: 5000 switch: bidAskPush: true pushDayCloseDelay: 5 pcaInterval: 2 pcaNextStatus: "101" skipWriteRedisPeriod: "9:15-9:35, 15:55-16:05" task: fixedRate: 120000 schedule: cron: seus: "0 0 7 * * ?" sehk: "0 30 8 * * ?" dailyTaskCron: "0 0 8 * * ?" alert: url: "https://www.afe.com.hk/asdbhandler/" enable : true pages: login: "UserLogon.aspx" createAlert: "UserCreateAlert.aspx" alertCriteria: "UserGetAlertFields.aspx" userSearch: "UserSearchAlerts.aspx" userDelete: "UserDeleteAlerts.aspx" credentials: userId: "hwg3api" password: "0527api" productId: "HW" productVer: "1.0" socket: ip: 219.76.65.13 port: 9804 logging: level: com.afe.g3fo.plugin.rocketmq.core: ERROR powerjob: worker: enabled: true # 工作端口 port: 38006 allFilesPush : true exchange: filter: - name: SEUS code: 1,2,43 - name: SZMK code: 47 - name: MAMK code: 121 - name: SEHK code: 92 ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-product-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_margin redis-database: 10 #是否开启缓存, 默认true enableCache: true #是否开启结果包含异常信息, 默认false enableResultIncludeExceptions: true server: port: 18010 springdoc: info: title: G3-Margin-API description: 保证金模块接口文档 # Dubbo配置 dubbo: application: metadata-service-protocol: tri protocol: port: 28010 # 任务调度 powerjob: worker: enabled: true # 工作端口 port: 38010 margin: calculateTask: enable: false periodSec: 86400 batchProcessSize: 30 threadSize: 10 fullCalculateTask: enable: false serverStart: enable: false schedule: enable: false timeRange: 08:00-16:00 product: subscribe: true', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-margin-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_base redis-database: 1 #是否开启缓存, 默认false enableCache: false #是否开启结果包含异常信息, 默认false enableResultIncludeExceptions: true server: port: 18001 springdoc: info: title: G3-Base-API description: 基础模块接口文档 # Dubbo配置 dubbo: application: metadata-service-protocol: tri protocol: port: 28001 # 自定义配置 base: sysSetting: ruleLimit: g3fo-base@base,trade|g3fo-user@base,user,product apiUrl: http://172.18.0.1:18000 ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-base-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := 'spring: datasource: dynamic: #设置默认的数据源或者数据源组,默认值即为master primary: mysql datasource: mysql: driver-class-name: com.p6spy.engine.spy.P6SpyDriver url: jdbc:p6spy:mysql://mysql:3306/${app.db-name}?&autoReconnect=true&allowMultiQueries=true username: root password: ENC(VN13kACOdhyl7xYqbgDMTMP0fK4dwoCkFe0AQW0VEt7/tpwx96GzRVY6eIpwlASM) #password: afe123456', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'mysql.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_user redis-database: 2 #是否开启缓存, 默认true enableCache: true #是否开启结果包含异常信息, 默认false enableResultIncludeExceptions: true server: port: 18002 # Dubbo配置 dubbo: application: metadata-service-protocol: tri # metadata-service-port: 28102 protocol: port: 28002 #这里定义了两个分组,可定义多个,也可以不定义 springdoc: info: title: G3-User-API description: 用户模块接口文档 version: 0.1.2 contact: name: g3support email: g3support@afe.hk group-configs: - group: default packagesToScan: com.afe.g3fo.user.controller user: loginRetry: 5 separateChannelPassword : true passwordExpireDays : 90 expirePassWordForce : true beginRemindDays : 30 passWordMethod: 1 abnormalIpLoginTimeMin: 15 mobileOTpTokenExpireDays: 180 info-base: logon-url: https://www.afe.com.hk/smx_g2/ssPTSingleLogonAction.asp back: e-service-url: http://192.168.3.201:3000/SSORegSessKey stock-screener: logon-url: https://stockscreener.afe.com.hk/ss_admin/html/SignOnIntegration.php ai: logon-url: https://ai.afe.hk/prod-api/aiApi/account/getAccessToken otp: H5: true PT: true WA: true OM: true MO: true WS: true DF: true IH: false ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-user-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_base redis-database: 0 server: port: 18004 ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-push-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: # DB名字 DB Name db-name: g3fo_trade # Redis database number redis-database: 7 server: # the port of trade server port: 18007 # Dubbo配置 dubbo: application: metadata-service-protocol: tri protocol: port: 28007 # 任务调度 powerjob: worker: # enable or disable powerjob (shedule job) enabled: true # 工作端口 powerjob port port: 38007 trade: # enable trade server debug log (additional debug log) enableDebugLog: false enableTestTimeRecord: false enableOrderIdLock: false enableRequestMsgCheckDuplicate: false enableOrderActionRedisMode: false enableOrderRedisMode: false quant-trading: # BigQuant API Configuration bigquant: host: https://n2nquant.com headers: access-key: X-BigQuant-Access-Key signature: X-BigQuant-Signature timestamp: X-BigQuant-Timestamp api-paths: strategies: /bigapis/trading/v1/portfolio/strategies strategy-detail: /bigapis/trading/v1/strategies account-cash: /bigapis/trading/v1/accounts account-positions: /bigapis/trading/v1/account_positions planned-order: /bigapis/trading/v1/planned_order exchange-convert: mappings: hk: SEHK us: SEUS ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-trade-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := 'server: # 启用压缩 compression: enabled: true mime-types: application/json http2: enabled: true # Dubbo配置 dubbo: protocol: port: 28000 # Spring spring: cloud: # 路由配置 gateway: discovery: locator: # 开启小写验证,默认feign根据服务名查找都是用的全大写 lowerCaseServiceId: true # 开启从注册中心动态创建路由的功能,利用微服务名进行路由 enabled: true routes: - id: g3fo-demo-app uri: lb://g3fo-demo-app predicates: - Path=/demo/** filters: - StripPrefix=1 - id: g3fo-base-app uri: lb://g3fo-base-app predicates: - Path=/base/** filters: - StripPrefix=1 - id: g3fo-user-app uri: lb://g3fo-user-app predicates: - Path=/user/** filters: - StripPrefix=1 - id: g3fo-admin-app uri: lb://g3fo-admin-app predicates: - Path=/admin/** filters: - StripPrefix=1 - id: g3fo-notification-app uri: lb://g3fo-notification-app predicates: - Path=/notification/** filters: - StripPrefix=1 - id: g3fo-push-app uri: lb://g3fo-push-app predicates: - Path=/push/** filters: - StripPrefix=1 - id: g3fo-product-app uri: lb://g3fo-product-app predicates: - Path=/product/** filters: - StripPrefix=1 - id: g3fo-trade-app uri: lb://g3fo-trade-app predicates: - Path=/trade/** filters: - StripPrefix=1 - id: g3fo-margin-app uri: lb://g3fo-margin-app predicates: - Path=/margin/** filters: - StripPrefix=1 - id: g3fo-utility-app uri: lb://g3fo-utility-app predicates: - Path=/utility/** filters: - StripPrefix=1 - id: g3fo-dx-app uri: lb://g3fo-dx-app predicates: - Path=/dx/** filters: - StripPrefix=1 # knife4j的增强配置,不需要增强可以不配 knife4j: gateway: # 是否开启 enabled: true # 指定服务发现的模式聚合微服务文档,并且是默认`default`分组 manual | discover strategy: manual # 子服务存在其他分组情况,聚合其他分组,只能手动配置 routes: - name: Gateway Server # 子服务存在其他分组情况,聚合其他分组 url: /v3/api-docs?group=default # 服务名称(Optional) service-name: g3fo-gateway-app # 路由前缀 context-path: # 排序 order: 0 - name: Base Service url: /base/v3/api-docs?group=default service-name: g3fo-gateway-app context-path: /base order: 1 - name: User Service url: /user/v3/api-docs?group=default service-name: g3fo-user-app context-path: /user order: 2 - name: Admin Service url: /admin/v3/api-docs?group=default service-name: g3fo-admin-app context-path: /admin order: 3 - name: Notification Service url: /notification/v3/api-docs?group=default service-name: g3fo-notification-app context-path: /notification order: 4 - name: Push Service url: /push/v3/api-docs?group=default service-name: g3fo-push-app context-path: /push order: 5 - name: Product Service url: /product/v3/api-docs?group=default service-name: g3fo-product-app context-path: /product order: 6 - name: Trade Service url: /trade/v3/api-docs?group=default service-name: g3fo-trade-app context-path: /trade order: 7 - name: Margin Service url: /margin/v3/api-docs?group=default service-name: g3fo-margin-app context-path: /margin order: 8 - name: Utility Service url: /utility/v3/api-docs?group=default service-name: g3fo-utility-app context-path: /utility order: 9 - name: DX Service url: /dx/v3/api-docs?group=default service-name: g3fo-dx-app context-path: /dx order: 10 # - name: Base Service # # 子服务存在其他分组情况,聚合其他分组 # url: /base/v3/api-docs?group=default # # 服务名称(Optional) # service-name: g3fo-base-app # # 路由前缀 # context-path: /base # # 排序 # order: 0 # 服务发现模式的配置 discover: # 开启 enabled: true # 指定版本号(swagger2|openapi3) version : openapi3 # 需要排除的微服务(eg:网关服务) excluded-services: - ${app.service-name}-app # 如果子服务是OpenAPI3,并且有个性化配置 oas3: url: /v3/api-docs?group=default oauth2-redirect-url: '''' validator-url: '''' # 如何子服务是Swagger2,并且个性化配置 swagger2: url: /v2/api-docs?group=default # 单个服务的个性化配置,key-服务名称,value-配置信息 service-config: g3fo-base-app: # 该服务的排序 order: 1 # 分组显示名称 group-name: Base Service # 兼容OpenAPI3规范在聚合时丢失contextPath属性的异常情况,由开发者自己配置contextPath,Knife4j的前端Ui做兼容处理,与url属性独立不冲突,仅OpenAPI3规范聚合需要,OpenAPI2规范不需要设置此属性,默认为(apiPathPrefix) context-path: /base g3fo-user-app: order: 2 group-name: User Service context-path: /user g3fo-admin-app: order: 3 group-name: Admin Service context-path: /admin g3fo-notification-app: order: 4 group-name: Notification Service context-path: /notification g3fo-gateway-app: order: 5 group-name: Gateway Service context-path: / g3fo-push-app: order: 6 group-name: Push Service context-path: /push g3fo-product-app: order: 7 group-name: Product Service context-path: /product g3fo-trade-app: order: 8 group-name: Trade Service context-path: /trade # 白名单 url-white-list: /admin/adminUser/regDevice,/admin/adminUser/resendOneTimeCode,/user/userLogin/regDevice,/user/userLogin/resendOneTimeCode,/demo/**,/login,/doc.html,/webjars/**,/**/v3/**,/v3/**,/**/open/**,/docParam/**,/doc.html/**,/**/desreport_/**,/user/userLogin/changePassword,/user/userLogin/sendResetPasswordEmail white-ip.list: - ip: 202.3.7.182 paths: - /notification/pushNewsNotification jwt: secret: fsf245jubv tokenExpire: H5: 3600 PT: 3600 WA: 3600 OM: 32400 MO: 3600 WS: 86400 DF: 3600 IH: 86400 refreshTokenExpire: 181500 user : login: loginMode: 1 loggedCount : 1 pathPermissions: enabled: true admin-role: 4', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-gateway-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := 'spring: redis: redisson: config: | singleServerConfig: # 节点地址 address: redis://redis:6379 # 密码 password: afe123456 # redis数据库编号 database: ${app.redis-database:0} # 连接空闲超时,单位:毫秒 idleConnectionTimeout: 100000 # 连接超时,单位:毫秒 connectTimeout: 10000 # 命令等待超时,单位:毫秒 timeout: 3000 # 命令失败重试次数 retryAttempts: 3 # 命令重试发送时间间隔,单位:毫秒 retryInterval: 1500 # 单个连接最大订阅数量 subscriptionsPerConnection: 5 # 客户端名称 clientName: null # 发布和订阅连接的最小空闲连接数 subscriptionConnectionMinimumIdleSize: 1 # 发布和订阅连接池大小 subscriptionConnectionPoolSize: 50 # 最小空闲连接数 connectionMinimumIdleSize: 32 # 连接池大小 connectionPoolSize: 64 # DNS监测时间间隔,单位:毫秒 dnsMonitoringInterval: 5000 # 线程池数量 threads: 16 # Netty线程池数量 nettyThreads: 32 # 编码 codec: class: "org.redisson.codec.JsonJacksonCodec" # 传输模式 transportMode: "NIO" # 配置看门狗的默认超时时间为30s,这里改为10s lockWatchdogTimeout: 10000', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'redis.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := 'rocketmq: name-server: rocketmq-nameserver:9876 consumer: group: ${app.service-name} # 一次拉取消息最大值,注意是拉取消息的最大值而非消费最大值 pull-batch-size: 10 # 开启消费消息轨迹 enable-msg-trace: true producer: # 发送同一类消息的设置为同一个group,保证唯一 group: ${app.service-name} # 发送消息超时时间,默认3000 sendMessageTimeout: 10000 # 发送消息失败重试次数,默认2 retryTimesWhenSendFailed: 2 # 异步消息重试此处,默认2 retryTimesWhenSendAsyncFailed: 2 # 压缩消息阈值,默认4k(1024 * 4) compressMessageBodyThreshold: 4096 # 是否在内部发送失败时重试另一个broker,默认false retryNextServer: false enableMsgTrace: true', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'rocketmq.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# Dubbo配置 dubbo: application: name: ${app.service-name} register-mode: instance # local | remote # metadata-type: local logger: slf4j service-discovery: # 强制为仅应用级订阅模式 migration: FORCE_APPLICATION qos-enable: false serialize-check-status: WARN protocol: name: tri # serialization: fastjson2 registry: address: nacos://nacos:8848 parameters: namespace: ${app.env} registry-type: service # register-consumer-url: true #provider: #filter: dubboExceptionFilter,-exception consumer: check: false timeout: 10000 metadata-report: address: nacos://nacos:8848 # report-metadata: true # report-definition: true parameters: namespace: ${app.env}-dubbo serialize: allowlist: ''*''', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'dubbo.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := 'quickfixj: client: actuator.enabled: true enabled: true enabledSession: OCG@AFEOME # 自动对齐seqNum autoSyncSeqNum: false # 启动环境:pro test dc environment: pro autoStartup: true # 开启限流发送消息 throttleLimit: true # 登录自动发送获取BrokerId autoGetBrokerId: true startLogonTimeout: 300 configString: | [default] FileStorePath=/data/logs/${app.service-name}/store ConnectionType=initiator HeartBtInt=20 ReconnectInterval=5 LogonTimeout=10 FileLogPath=/data/logs/${app.service-name}/fixMsgLog BeginString=FIXT.1.1 StartTime=08:15:00 EndTime=23:00:00 DefaultApplVerID=FIX.5.0SP2 EnableNextExpectedMsgSeqNum=Y ResetOnLogon=N ResetOnDisconnect=N ResetOnLogout=N [session] TimeStampPrecision=MICROS SenderCompID=OCG TargetCompID=AFEOME StartTime=08:10:00 EndTime=20:00:00 TimeZone=Hongkong SocketConnectHost=172.18.0.1 SocketConnectPort=7001 TransportDataDictionary=FIXT11.OCG.xml AppDataDictionary=FIX50SP2.OCG.xml [session] SenderCompID=NDSHIWAIOM TargetCompID=OSL StartTime=10:30:00 EndTime=10:00:00 TimeZone=Hongkong SocketConnectHost=172.18.0.1 SocketConnectPort=440 BeginString=FIX.4.4 DefaultApplVerID=FIX.4.4 AllowUnknownMsgFields=Y [session] SenderCompID=NDSHIWAIDC TargetCompID=OSL StartTime=10:30:00 EndTime=10:00:00 TimeZone=Hongkong SocketConnectHost=172.18.0.1 SocketConnectPort=442 BeginString=FIX.4.4 DefaultApplVerID=FIX.4.4 AllowUnknownMsgFields=Y ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'quick-fix-client.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_base redis-database: 5 server: port: 18005 # Dubbo配置 dubbo: application: metadata-service-protocol: tri # metadata-service-port: 28101 protocol: port: 28005 ', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-demo-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP'; UPDATE `nacos`.`config_info` SET `content` = @content_value := '# 服务配置 app: db-name: g3fo_dx redis-database: 9 #是否开启缓存, 默认true enableCache: false #是否开启结果包含异常信息, 默认false enableResultIncludeExceptions: true server: port: 18009 spring: servlet: multipart: max-file-size: 512MB max-request-size: 512MB enabled: true file-size-threshold: 0 springdoc: info: title: G3-DX-API description: DX模块接口文档 # Dubbo配置 dubbo: application: metadata-service-protocol: tri protocol: port: 28009 # 任务调度 powerjob: worker: enabled: true # 工作端口 port: 38009 dx: socket: port: 9100 checkSeqNo: true dayBeginCloseChannel: false quickfix: heartBeatRate: 60 encodeTags: 9002|9003|9061|9062|9063|9064|8310|8312|9740|9741|9077|8388|8393|9012|9700|9701|8900|8901|8904|8906|8909| exportFilePath: /dx batchDxType: SBOS batchDx: #batchDxDayBeginFiles: UM,CS,US,UA,CA,CO,EX,CT,IM,ST,SD,SQ,SC,SR,CG,CL,SH,BH,CR,CY,ER,CM,SM batchDxDayBeginFiles: TM,AM,UM,CS,US,UA,CA,EX,CT,IM,ST,SD,SQ,SC,SR,CG,CL,SH,BH,CR,CY,ER,CM,SM,SP,GS,AP,RB,GD,GC,MM,AF,BW,CBW delete-interceptor.enable: true', `md5` = MD5(@content_value),`gmt_modified` = now() WHERE `data_id` = 'g3fo-dx-dev.yml' AND `tenant_id` = 'dev' AND `group_id` = 'DEFAULT_GROUP';