| | |
| | | on-profile: local |
| | | autoconfigure: |
| | | exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
| | | |
| | | |
| | | # Kafka 配置 |
| | | kafka: |
| | | bootstrap-servers: alikafka-pre-cn-aic4j4ywq028-1-vpc.alikafka.aliyuncs.com:9092,alikafka-pre-cn-aic4j4ywq028-2-vpc.alikafka.aliyuncs.com:9092,alikafka-pre-cn-aic4j4ywq028-3-vpc.alikafka.aliyuncs.com:9092 |
| | | consumer: |
| | | group-id: group-robotaxi-xpu |
| | | auto-offset-reset: earliest |
| | | key-deserializer: org.apache.kafka.common.serialization.StringDeserializer |
| | | value-deserializer: org.apache.kafka.common.serialization.StringDeserializer |
| | | enable-auto-commit: true |
| | | auto-commit-interval: 1000 |
| | | producer: |
| | | key-serializer: org.apache.kafka.common.serialization.StringSerializer |
| | | value-serializer: org.apache.kafka.common.serialization.StringSerializer |
| | | retries: 3 |
| | | acks: all |
| | | listener: |
| | | concurrency: 3 |
| | | |
| | | shardingsphere: |
| | | datasource: |
| | | names: xp0 |
| | | xp0: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://192.168.110.34:3306/xprt_maintenance?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: 123456 |
| | | url: jdbc:mysql://pc-bp1o444934f546768po.rwlb.rds.aliyuncs.com:3306/xp_rt_maintenance?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: xp_rt_maintenance |
| | | password: gWgoAv_bi02um8sN |
| | | druid: |
| | | initial-size: 10 |
| | | min-idle: 10 |
| | |
| | | sharding-algorithm-name: xp-charging-record-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_clock_in: |
| | | actual-data-nodes: xp0.xp_clock_in_$->{0..9} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-clock-in-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_task: |
| | | actual-data-nodes: xp0.xp_task_$->{0..19} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-task-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_task_handle_detail: |
| | | actual-data-nodes: xp0.xp_task_handle_detail_$->{0..19} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-task-handle-detail-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_task_handle_detail_routine: |
| | | actual-data-nodes: xp0.xp_task_handle_detail_routine_$->{0..19} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-task-handle-detail-routine-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_vehicle_detection: |
| | | actual-data-nodes: xp0.xp_vehicle_detection_$->{0..9} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-vehicle-detection-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_vehicle_preparation: |
| | | actual-data-nodes: xp0.xp_vehicle_preparation_$->{0..9} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-vehicle-preparation-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_vehicle_repair: |
| | | actual-data-nodes: xp0.xp_vehicle_repair_$->{0..9} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-vehicle-repair-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_work_order: |
| | | actual-data-nodes: xp0.xp_work_order_$->{0..9} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-work-order-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | xp_work_order_log: |
| | | actual-data-nodes: xp0.xp_work_order_log_$->{0..19} |
| | | table-strategy: |
| | |
| | | sharding-algorithm-name: xp-work-order-log-inline |
| | | key-generate-strategy: |
| | | column: id |
| | | key-generator-name: snowflake |
| | | key-generator-name: snowflakeKeyGen |
| | | sharding-algorithms: |
| | | xp-charging-record-inline: |
| | | type: INLINE |
| | |
| | | props: |
| | | algorithm-expression: xp_work_order_log_${work_order_id % 20} |
| | | key-generators: |
| | | snowflake: |
| | | snowflakeKeyGen: |
| | | type: SNOWFLAKE |
| | | single-table: |
| | | default-data-source-name: xp0 |
| | |
| | | sql-show: true |
| | | sql-simple: true |
| | | |
| | | # XPU |
| | | xpu: |
| | | topic: topic-prod-xpu-robotaxi-high |
| | | |
| | | # swagger配置 |
| | | swagger: |
| | | title: 自动驾驶模块接口文档 |
| | | enabled: true |
| | | license: Powered By xiaopeng |
| | | licenseUrl: http://127.0.0.1:5800/doc.html |
| | | |
| | | # snowflake 配置 |
| | | snowflake: |
| | | worker-id: -1 |
| | | data-center-id: 0 |
| | | |
| | | seata: |
| | | enabled: false |
| | | application-id: ${spring.application.name} |
| | | tx-service-group: seata_tx_group |
| | | enable-auto-data-source-proxy: false |
| | | service: |
| | | vgroup-mapping: |
| | | seata_tx_group: default |
| | | data-source-proxy-mode: AT |
| | | config: |
| | | type: nacos |
| | | nacos: |
| | | server-addr: 192.168.110.80:8848 |
| | | namespace: 5185ac4b-6369-48eb-a21b-a7cbc441c5f1 |
| | | group: DEFAULT_GROUP |
| | | data-id: seata-server.properties |
| | | username: nacos |
| | | password: nacos |