-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathGrpcServer.proto
More file actions
37 lines (30 loc) · 1.06 KB
/
GrpcServer.proto
File metadata and controls
37 lines (30 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
syntax = "proto3";
import "feast/serving/ServingService.proto";
import "feast/types/Value.proto";
option java_package = "feast.proto.serving";
option java_outer_classname = "GrpcServerAPIProto";
option go_package = "github.com/feast-dev/feast/go/protos/feast/serving";
message PushRequest {
map<string, string> features = 1;
string stream_feature_view = 2;
bool allow_registry_cache = 3;
string to = 4;
map<string, feast.types.Value> typed_features = 5;
}
message PushResponse {
bool status = 1;
}
message WriteToOnlineStoreRequest {
map<string, string> features = 1;
string feature_view_name = 2;
bool allow_registry_cache = 3;
map<string, feast.types.Value> typed_features = 4;
}
message WriteToOnlineStoreResponse {
bool status = 1;
}
service GrpcFeatureServer {
rpc Push (PushRequest) returns (PushResponse) {};
rpc WriteToOnlineStore (WriteToOnlineStoreRequest) returns (WriteToOnlineStoreResponse);
rpc GetOnlineFeatures (feast.serving.GetOnlineFeaturesRequest) returns (feast.serving.GetOnlineFeaturesResponse);
}