4010e25ea0
* chore: add meta config rpc Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: update payload to simple string Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: wrap string with message to enable option in rust Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: replace content with vec Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: fix format Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: remove repeated Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: update comment Co-authored-by: fys <40801205+fengys1996@users.noreply.github.com> * chore: update comment Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: move pull config to a separate config service Signed-off-by: shuiyisong <xixing.sys@gmail.com> --------- Signed-off-by: shuiyisong <xixing.sys@gmail.com> Co-authored-by: fys <40801205+fengys1996@users.noreply.github.com>
36 lines
1.0 KiB
Protocol Buffer
36 lines
1.0 KiB
Protocol Buffer
// Copyright 2023 Greptime Team
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
syntax = "proto3";
|
|
|
|
package greptime.v1.meta;
|
|
|
|
import "greptime/v1/meta/common.proto";
|
|
|
|
option go_package = "github.com/GreptimeTeam/greptime-proto/go/greptime/v1/meta";
|
|
|
|
service Config {
|
|
// Pull configuration from meta server.
|
|
rpc PullConfig(PullConfigRequest) returns (PullConfigResponse) {}
|
|
}
|
|
|
|
message PullConfigRequest {
|
|
RequestHeader header = 1;
|
|
}
|
|
|
|
message PullConfigResponse {
|
|
ResponseHeader header = 1;
|
|
string payload = 2;
|
|
}
|