53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
server:
|
|
port: 8083
|
|
|
|
logging:
|
|
config: classpath:logback.xml
|
|
|
|
spring:
|
|
kafka:
|
|
producer:
|
|
bootstrap_servers: kafka1:9092,kafka2:9092
|
|
client_id: gitlink_producer_01
|
|
retries: 5
|
|
batch_size: 16384
|
|
replication_factor: 1
|
|
partitions: 3
|
|
topic_new_email_remind: topic-gitlink-new-email-remind
|
|
|
|
consumer:
|
|
bootstrap_servers: kafka1:9092,kafka2:9092
|
|
client_id: gitlink_consumer
|
|
group_id: group-gitlink-notification
|
|
group_id_email: group-gitlink-email
|
|
group_id_new_email_remind: group-gitlink-new-email-remind
|
|
auto_offset_reset: earliest
|
|
max_poll_records: 100
|
|
topic: topic-gitlink-notification
|
|
topic_email: topic-gitlink-email
|
|
topic_new_email_remind: topic-gitlink-new-email-remind
|
|
enable-auto-commit: true
|
|
auto-commit-interval: 1S
|
|
|
|
listener:
|
|
concurrency: 3
|
|
ack-mode: record
|
|
|
|
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
|
|
white-list: '*' |