aboutsummaryrefslogtreecommitdiff
path: root/other/java
diff options
context:
space:
mode:
Diffstat (limited to 'other/java')
-rw-r--r--other/java/client/src/main/proto/filer.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index b998c330c..3975b517d 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -42,6 +42,9 @@ service SeaweedFiler {
rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) {
}
+ rpc ListenForEvents (ListenForEventsRequest) returns (stream FullEventNotification) {
+ }
+
}
//////////////////////////////////////////////////
@@ -230,3 +233,19 @@ message GetFilerConfigurationResponse {
string dir_queues = 6;
bool cipher = 7;
}
+
+message ListenForEventsRequest {
+ string client_name = 1;
+ string directory = 2;
+ int64 since_sec = 3;
+}
+message FullEventNotification {
+ string directory = 1;
+ EventNotification event_notification = 2;
+}
+
+message LogEntry {
+ int64 ts_ns = 1;
+ int32 partition_key_hash = 2;
+ bytes data = 3;
+}