diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-12 21:00:55 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-12 21:00:55 -0700 |
| commit | 7764e0465ce976bb528c27bb9aa25857102570ef (patch) | |
| tree | 7163cf7d7b940ea3ecf7971024f5469cdcd56eee /other/java | |
| parent | 8e23dc078b6790ace902c09ed71963c9ce49acdb (diff) | |
| download | seaweedfs-7764e0465ce976bb528c27bb9aa25857102570ef.tar.xz seaweedfs-7764e0465ce976bb528c27bb9aa25857102570ef.zip | |
refactoring
Diffstat (limited to 'other/java')
| -rw-r--r-- | other/java/client/src/main/proto/filer.proto | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto index 40316f58b..fd2b8ebe3 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -42,7 +42,7 @@ service SeaweedFiler { rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) { } - rpc ListenForEvents (ListenForEventsRequest) returns (stream FullEventNotification) { + rpc SubscribeMetadata (SubscribeMetadataRequest) returns (stream SubscribeMetadataResponse) { } } @@ -234,12 +234,12 @@ message GetFilerConfigurationResponse { bool cipher = 7; } -message ListenForEventsRequest { +message SubscribeMetadataRequest { string client_name = 1; string path_prefix = 2; int64 since_ns = 3; } -message FullEventNotification { +message SubscribeMetadataResponse { string directory = 1; EventNotification event_notification = 2; } |
