feat: conf.

This commit is contained in:
tx7do
2024-06-08 14:21:00 +08:00
parent 01424e4387
commit 91b483ac9a
5 changed files with 279 additions and 234 deletions

View File

@@ -106,7 +106,7 @@ message Data {
// Kafka
message Kafka {
repeated string addrs = 1; // 对端网络地址
repeated string endpoints = 1; // 对端网络地址
string codec = 2; // 编解码器
@@ -123,12 +123,13 @@ message Data {
// RabbitMQ
message RabbitMQ {
repeated string addrs = 1; // 对端网络地址
repeated string endpoints = 1; // 对端网络地址
}
// MQTT
message Mqtt {
string addr = 1; // 对端网络地址
string endpoint = 1; // 对端网络地址
string codec = 2; // 编解码器: json,xml,yaml...
}
message ActiveMQ {

View File

@@ -45,17 +45,20 @@ message Server {
// MQTT
message Mqtt {
string addr = 1; // 对端网络地址
string endpoint = 1; // 对端网络地址
string codec = 2; // 编解码器: json,xml,yaml...
}
// Kafka
message Kafka {
repeated string addrs = 1; // 对端网络地址
repeated string endpoints = 1; // 对端网络地址
string codec = 2; // 编解码器: json,xml,yaml...
}
// RabbitMQ
message RabbitMQ {
repeated string addrs = 1; // 对端网络地址
repeated string endpoints = 1; // 对端网络地址
string codec = 2; // 编解码器: json,xml,yaml...
}
message ActiveMQ {