处理email相关的配置
This commit is contained in:
parent
201ff14880
commit
cb36b2a42f
|
@ -14,6 +14,7 @@ spring:
|
||||||
replication_factor: 1
|
replication_factor: 1
|
||||||
partitions: 3
|
partitions: 3
|
||||||
topic_new_email_remind: topic-gitlink-new-email-remind
|
topic_new_email_remind: topic-gitlink-new-email-remind
|
||||||
|
|
||||||
consumer:
|
consumer:
|
||||||
bootstrap_servers: kafka1:9092,kafka2:9092
|
bootstrap_servers: kafka1:9092,kafka2:9092
|
||||||
client_id: gitlink_consumer
|
client_id: gitlink_consumer
|
||||||
|
@ -26,12 +27,10 @@ spring:
|
||||||
topic_email: topic-gitlink-email
|
topic_email: topic-gitlink-email
|
||||||
topic_new_email_remind: topic-gitlink-new-email-remind
|
topic_new_email_remind: topic-gitlink-new-email-remind
|
||||||
enable-auto-commit: true
|
enable-auto-commit: true
|
||||||
#自动提交的时间间隔
|
|
||||||
auto-commit-interval: 1S
|
auto-commit-interval: 1S
|
||||||
|
|
||||||
listener:
|
listener:
|
||||||
# 消费线程数
|
|
||||||
concurrency: 3
|
concurrency: 3
|
||||||
# 提交模式
|
|
||||||
ack-mode: record
|
ack-mode: record
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
@ -47,10 +46,8 @@ spring:
|
||||||
timeout: 1000
|
timeout: 1000
|
||||||
|
|
||||||
datasource:
|
datasource:
|
||||||
# 配置数据源类型
|
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
driver-class-name: com.mysql.jdbc.Driver
|
||||||
url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false
|
url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false
|
||||||
username: gitlink
|
username: gitlink
|
||||||
password: giTlinK0^827
|
password: giTlinK0^827
|
||||||
#ip白名单列表,多个ip用逗号隔开,允许所有用*号
|
|
||||||
white-list: '*'
|
white-list: '*'
|
|
@ -7,24 +7,15 @@ logging:
|
||||||
spring:
|
spring:
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
# Redis数据库索引(默认为0)
|
|
||||||
database: 0
|
database: 0
|
||||||
# Redis服务器地址
|
|
||||||
host: redis
|
host: redis
|
||||||
# Redis服务器连接端口
|
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
|
||||||
password:
|
password:
|
||||||
pool:
|
pool:
|
||||||
# 连接池最大连接数(使用负值表示没有限制)
|
|
||||||
max-active: 200
|
max-active: 200
|
||||||
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
||||||
max-wait: -1
|
max-wait: -1
|
||||||
# 连接池中的最大空闲连接
|
|
||||||
max-idle: 10
|
max-idle: 10
|
||||||
# 连接池中的最小空闲连接
|
|
||||||
min-idle: 0
|
min-idle: 0
|
||||||
# 连接超时时间(毫秒)
|
|
||||||
timeout: 1000
|
timeout: 1000
|
||||||
|
|
||||||
kafka:
|
kafka:
|
||||||
|
@ -35,11 +26,9 @@ spring:
|
||||||
batch_size: 16384
|
batch_size: 16384
|
||||||
|
|
||||||
datasource:
|
datasource:
|
||||||
# 配置数据源类型
|
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
driver-class-name: com.mysql.jdbc.Driver
|
||||||
url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false
|
url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false
|
||||||
username: gitlink
|
username: gitlink
|
||||||
password: giTlinK0^827
|
password: giTlinK0^827
|
||||||
|
|
||||||
#ip白名单列表,多个ip用逗号隔开,允许所有用*号
|
|
||||||
white-list: '*'
|
white-list: '*'
|
|
@ -30,10 +30,8 @@ spring:
|
||||||
|
|
||||||
|
|
||||||
datasource:
|
datasource:
|
||||||
# 配置数据源类型
|
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
driver-class-name: com.mysql.jdbc.Driver
|
||||||
url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false
|
url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false
|
||||||
username: gitlink
|
username: gitlink
|
||||||
password: giTlinK0^827
|
password: giTlinK0^827
|
||||||
#ip白名单列表,多个ip用逗号隔开,允许所有用*号
|
|
||||||
white-list: '*'
|
white-list: '*'
|
Loading…
Reference in New Issue