You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
561 B
YAML
29 lines
561 B
YAML
3 years ago
|
Server:
|
||
|
Debug: false
|
||
|
Listen: 0.0.0.0:8888
|
||
|
Command:
|
||
|
Regex: "([jJ])|([sS])|([wW])|([cC]\\d)|([mM]\\d)"
|
||
|
Log:
|
||
|
Console:
|
||
|
Level: debug
|
||
|
Format: console
|
||
|
File:
|
||
|
Enabled: false
|
||
|
Level: info
|
||
|
Format: json
|
||
|
Path: ./logs
|
||
|
Filename: dcg.log
|
||
|
FileMaxSize: 10 # 10mb
|
||
|
FileMaxBackups: 30 #
|
||
|
MaxAge: 7 # 保留7天
|
||
|
Compress: true # 压缩日志
|
||
|
Kafka:
|
||
|
Danmaku:
|
||
|
Addr: [ "127.0.0.1:9093" ]
|
||
|
Topic: "danmaku"
|
||
|
Gift:
|
||
|
Addr: [ "127.0.0.1:9093" ]
|
||
|
Topic: "gift"
|
||
|
ConsumerGroupId:
|
||
|
MsgToPush: "msgToPush"
|
||
|
MsgToDb: "msgToDb"
|