43 lines
991 B
Plaintext
43 lines
991 B
Plaintext
server:
|
|
port: 8082
|
|
|
|
logging:
|
|
config: classpath:logback.xml
|
|
|
|
spring:
|
|
kafka:
|
|
producer:
|
|
bootstrap_servers: kafka1:9092,kafka2:9092
|
|
retries: 5
|
|
batch_size: 16384
|
|
replication_factor: 1
|
|
partitions: 3
|
|
topic: topic-gitlink-notification
|
|
topic_email: topic-gitlink-email
|
|
|
|
redis:
|
|
database: 0
|
|
host: redis
|
|
port: 6379
|
|
password:
|
|
pool:
|
|
max-active: 200
|
|
max-wait: -1
|
|
max-idle: 10
|
|
min-idle: 0
|
|
timeout: 1000
|
|
|
|
datasource:
|
|
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
|
|
username: gitlink
|
|
password: giTlinK0^827
|
|
|
|
jackson:
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
time-zone: GMT+8
|
|
serialization:
|
|
indent_output: true
|
|
fail_on_empty_beans: false
|
|
|
|
white-list: '*' |