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.
23 lines
574 B
YAML
23 lines
574 B
YAML
Name: usercenter.rpc
|
|
ListenOn: 127.0.0.1:10001
|
|
Etcd:
|
|
Hosts:
|
|
- 127.0.0.1:2379
|
|
Key: usercenter.rpc
|
|
NonBlock: true
|
|
DB:
|
|
#DataSource: root:root@tcp(192.168.1.100:3306)/dmgame?charset=utf8mb4&loc=Asia%2FShanghai&parseTime=true
|
|
DataSource: root:root@tcp(127.0.0.1:3306)/dmgame?charset=utf8mb4&loc=Asia%2FShanghai&parseTime=true
|
|
Danmaku:
|
|
Kafka:
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
Topic: "danmaku"
|
|
ConsumerGroupId: "msgToDb"
|
|
Command:
|
|
Keys: [ "j", "加入","加入游戏" ]
|
|
User:
|
|
UpdateDuration: 72 # 72 hours
|
|
Log:
|
|
Mode: file
|
|
KeepDays: 7
|
|
Level: error |