You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "FoghostCn (via GitHub)" <gi...@apache.org> on 2024/01/03 03:34:36 UTC
Re: [I] Provide Protobuf definition for MetadataService for easier cross-language communication [dubbo]
FoghostCn commented on issue #13584:
URL: https://github.com/apache/dubbo/issues/13584#issuecomment-1874810649
Protobuf definition:
```protobuf
syntax = "proto3";
package org.apache.dubbo.metadata;
option go_package = "dubbo.apache.org/dubbo-go/v3/metadata/triple_api";
option java_package = "org.apache.dubbo.metadata";
service MetadataService {
rpc GetMetadataInfo(Revision) returns (MetadataInfo) {}
}
message Revision {
string value = 1;
}
message MetadataInfo {
string app = 1;
string revision = 2;
map<string, ServiceInfo> services = 3;
}
message ServiceInfo {
string name = 1;
string group = 2;
string version = 3;
string protocol = 4;
int32 port = 5;
string path = 6;
map<string, string> params = 7;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org