Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Protobuf definition for MetadataService for easier cross-language communication #13584

Open
chickenlj opened this issue Dec 26, 2023 · 1 comment
Labels
component/sdk Related with apache/dubbo help wanted Everything needs help from contributors type/proposal Everything you want Dubbo have

Comments

@chickenlj
Copy link
Contributor

Provide Protobuf definition for MetadataService for easier cross-language communication. For example, service discovery between dubbo-go and dubbo-java

@FoghostCn
Copy link
Contributor

Protobuf definition:

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;
}

@AlbumenJ AlbumenJ added type/proposal Everything you want Dubbo have help wanted Everything needs help from contributors component/sdk Related with apache/dubbo and removed type/feature labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/sdk Related with apache/dubbo help wanted Everything needs help from contributors type/proposal Everything you want Dubbo have
Projects
Status: No status
Development

No branches or pull requests

3 participants