Skip to content

Commit 12b2385

Browse files
author
zhilingc
committed
Collapse the serving deployment info methods
1 parent a92c5a3 commit 12b2385

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

protos/feast/serving/ServingService.proto

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ option java_outer_classname = "ServingAPIProto";
2727
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/serving";
2828

2929
service ServingService {
30-
// Get version information about this Feast serving.
31-
rpc GetFeastServingVersion (GetFeastServingVersionRequest) returns (GetFeastServingVersionResponse);
32-
33-
// Get Feast serving store type: online or batch.
34-
rpc GetFeastServingType (GetFeastServingTypeRequest) returns (GetFeastServingTypeResponse);
30+
// Get information about this Feast serving.
31+
rpc GetFeastServingInfo (GetFeastServingInfoRequest) returns (GetFeastServingInfoResponse)
3532

3633
// Get online features synchronously.
3734
rpc GetOnlineFeatures (GetOnlineFeaturesRequest) returns (GetOnlineFeaturesResponse);
@@ -50,16 +47,19 @@ service ServingService {
5047
rpc GetJob (GetJobRequest) returns (GetJobResponse);
5148
}
5249

53-
message GetFeastServingVersionRequest {}
50+
message GetFeastServingInfoRequest {}
5451

55-
message GetFeastServingVersionResponse {
52+
message GetFeastServingInfoResponse {
53+
// Feast version of this serving deployment.
5654
string version = 1;
57-
}
5855

59-
message GetFeastServingTypeRequest {}
56+
// Type of serving deployment, either ONLINE or BATCH. Different store types support different
57+
// feature retrieval methods.
58+
FeastServingType type = 2;
6059

61-
message GetFeastServingTypeResponse {
62-
FeastServingType type = 1;
60+
// Note: Batch specific options start from 10.
61+
// Staging location for this serving store, if any.
62+
string job_staging_location = 10;
6363
}
6464

6565
message GetOnlineFeaturesRequest {

0 commit comments

Comments
 (0)