feat: kafka data config

This commit is contained in:
tx7do
2023-10-26 21:38:42 +08:00
parent 1f708cdf67
commit 4ffb6d77ea
2 changed files with 145 additions and 55 deletions

View File

@@ -30,6 +30,13 @@ message Data {
google.protobuf.Duration write_timeout = 7; // 写入超时时间
}
// Kafka
message Kafka {
repeated string addrs = 1; // 对端网络地址
string codec = 2; // 编解码器
}
Database database = 1; // 数据库
Redis redis = 2; // Redis
Kafka kafka = 3; // Kafka服务
}