Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: common/api/logdog_coordinator/registration/v1/service.proto

Issue 1967273002: LogDog: Implement RegisterPrefix RPC. (Closed) Base URL: https://github.com/luci/luci-go@logdog-butler-register-coordinator-endpoint
Patch Set: Updated patchset dependency Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: common/api/logdog_coordinator/registration/v1/service.proto
diff --git a/common/api/logdog_coordinator/registration/v1/service.proto b/common/api/logdog_coordinator/registration/v1/service.proto
index 88faaa197fad13eea99e5dac3e567994f0bd1328..f0e0bcb10ca8af0abdf87ff30cbc1cab8972f131 100644
--- a/common/api/logdog_coordinator/registration/v1/service.proto
+++ b/common/api/logdog_coordinator/registration/v1/service.proto
@@ -12,14 +12,12 @@ import "google/protobuf/duration.proto";
message RegisterPrefixRequest {
// The log stream's project.
string project = 1;
- // Optional information about the registering agent.
- repeated string source_info = 2;
- // The protobuf version string for this stream.
- string proto_version = 3;
- // The serialized LogStreamDescriptor protobuf for this stream. The stream's
- // path is extracted from this field.
- bytes desc = 4;
+ // The log stream prefix to register.
+ string prefix = 2;
+
+ // Optional information about the registering agent.
+ repeated string source_info = 3;
// The prefix expiration time. If <= 0, the project's default prefix
// expiration period will be applied.
@@ -29,7 +27,7 @@ message RegisterPrefixRequest {
//
// If supplied, this value should exceed the timeout of the local task, else
// some of the task's streams may be dropped due to failing registration.
- google.protobuf.Duration expiration = 5;
+ google.protobuf.Duration expiration = 10;
}
// The response message for the RegisterPrefix RPC.

Powered by Google App Engine
This is Rietveld 408576698