Skip to content

Commit 58c1b08

Browse files
authored
Merge pull request #45 from pravinpushkar/update_protos
Updating protos to dapr runtime v1.7.0-rc.2
2 parents 2863715 + 43c4c81 commit 58c1b08

File tree

5 files changed

+1573
-207
lines changed

5 files changed

+1573
-207
lines changed

dapr/proto/runtime/v1/dapr.proto

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ service Dapr {
9292
// SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
9393
rpc SubscribeConfigurationAlpha1(SubscribeConfigurationRequest) returns (stream SubscribeConfigurationResponse) {}
9494

95+
// UnSubscribeConfiguration unsubscribe the subscription of configuration
96+
rpc UnsubscribeConfigurationAlpha1(UnsubscribeConfigurationRequest) returns (UnsubscribeConfigurationResponse) {}
97+
9598
// Gets metadata of the sidecar
9699
rpc GetMetadata (google.protobuf.Empty) returns (GetMetadataResponse) {}
97100

@@ -511,8 +514,25 @@ message SubscribeConfigurationRequest {
511514
map<string, string> metadata = 3;
512515
}
513516

517+
// UnSubscribeConfigurationRequest is the message to stop watching the key-value configuration.
518+
message UnsubscribeConfigurationRequest {
519+
// The name of configuration store.
520+
string store_name = 1;
521+
522+
// The id to unsubscribe.
523+
string id = 2;
524+
}
525+
514526
message SubscribeConfigurationResponse {
527+
// Subscribe id, used to stop subscription.
528+
string id = 1;
529+
515530
// The list of items containing configuration values
516-
repeated common.v1.ConfigurationItem items = 1;
531+
repeated common.v1.ConfigurationItem items = 2;
532+
}
533+
534+
message UnsubscribeConfigurationResponse {
535+
bool ok = 1;
536+
string message = 2;
517537
}
518538

src/dapr/proto/runtime/v1/dapr.grpc.pb.cc

Lines changed: 35 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)