From b085a13260ad46142af47cd58ac641c69a354cb1 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Wed, 22 Dec 2021 10:05:02 +0800
Subject: [PATCH] 包含最大值,最小值,平均值的小时表创建任务
---
screen-api/src/main/resources/application-dev.yml | 97 ++++++++++++++++++++++++++++++------------------
1 files changed, 61 insertions(+), 36 deletions(-)
diff --git a/screen-api/src/main/resources/application-dev.yml b/screen-api/src/main/resources/application-dev.yml
index 67627c3..e299b0c 100644
--- a/screen-api/src/main/resources/application-dev.yml
+++ b/screen-api/src/main/resources/application-dev.yml
@@ -2,40 +2,50 @@
port: 8081
tomcat:
uri-encoding: UTF-8
- #���������������
+ #���������������
min-spare-threads: 500
- #���������������
+ #���������������
max-threads: 2500
- #���������������
+ #���������������
max-connections: 6500
- #������������������������
+ #������������������������
accept-count: 1000
spring:
profiles:
active: dev
+ include:
+ moduleFormColumn
application:
name: screen-api
redis:
- #cluster:
- #nodes: 47.112.126.78:7001,47.112.126.78:7002,47.112.126.132:7003,47.112.126.132:7004,47.112.132.193:7005,47.112.132.193:7006
- #password: test
- #timeout: 500
- host: 127.0.0.1
- port: 6379
- password: 123456
- timeout: 30000
- jedis:
- pool:
- max-active: 256
- max-wait: 30000
- max-idle: 64
- min-idle: 32
- lettuce:
- pool:
- max-active: 256
- max-idle: 64
- max-wait: 30000
- min-idle: 32
+ host: r-bp1xdlb9wfc6zt0msp.redis.rds.aliyuncs.com
+ port: 6379
+ password: moral_123456
+ timeout: 30000
+ jedis:
+ pool:
+ max-active: 256
+ max-wait: 30000
+ max-idle: 64
+ min-idle: 32
+ lettuce:
+ pool:
+ max-active: 256
+ max-idle: 64
+ max-wait: 30000
+ min-idle: 32
+ tokenRedis:
+ host: r-bp1xdlb9wfc6zt0msp.redis.rds.aliyuncs.com
+ port: 6379
+ password: moral_123456
+ timeout: 30000
+ database: 15
+ pool:
+ max-active: 256
+ max-wait: 30000
+ max-idle: 64
+ min-idle: 32
+
datasource:
minIdle: 1
time-between-eviction-runs-millis: 60000
@@ -45,8 +55,9 @@
filters: stat
type: com.alibaba.druid.pool.DruidDataSource
max-wait: 60000
- url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC
- password: 123456
+ url: jdbc:mysql://rm-bp1pr3rx9m3fnkwsk.mysql.rds.aliyuncs.com:3306/moral?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+ username: root
+ password: moral_123456
test-on-borrow: false
sql-script-encoding: utf-8
pool-prepared-statements: true
@@ -55,7 +66,6 @@
driver-class-name: com.mysql.cj.jdbc.Driver
max-conn-lifetime-millis: 20
test-on-return: false
- username: root
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
@@ -65,9 +75,9 @@
field-strategy: NOT_EMPTY
db-type: MYSQL
configuration:
- map-underscore-to-camel-case: true
- call-setters-on-nulls: true
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+ map-underscore-to-camel-case: true
+ call-setters-on-nulls: true
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
kafka:
listener:
@@ -82,14 +92,11 @@
enable:
auto:
commit: false
- group:
- id: test
- servers: 192.168.0.16:9092,192.168.0.17:9092,192.168.0.18:9092
+ servers: 172.16.44.65:9092,172.16.44.67:9092,172.16.44.66:9092
session:
timeout: 6000
- topic: test_topic
zookeeper:
- connect: 192.168.0.16:2181,192.168.0.17:2181,192.168.0.18:2181
+ connect: 172.16.44.65:2181,172.16.44.67:2181,172.16.44.66:2181
producer:
batch:
size: 4096
@@ -97,5 +104,23 @@
memory: 40960
linger: 1
retries: 0
- servers: 192.168.0.16:9092,192.168.0.17:9092,192.168.0.18:9092
+ servers: 172.16.44.65:9092,172.16.44.67:9092,172.16.44.66:9092
+ groupId:
+ second-data: Dev_SecondsDataGroup
+ cruiser-data: Dev_CruiserDataGroup
+mvc:
+ interceptor:
+ exclude:
+ - /login
+ - /swagger-ui.html
+ - /swagger-resources/**
+ - /swagger-ui.html/**
+ - /webjars/**
+ - /verificationCode/**
+AES:
+ KEY:
+ AD42F7787B035B7580000EF93BE20BAD
+TOKEN:
+ KEY:
+ foh3wi2ooghiCh5
\ No newline at end of file
--
Gitblit v1.8.0