From 50a5018b7fb259cee84471ce8d7bb6e554602c61 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 30 Mar 2020 01:19:33 -0700 Subject: writing meta logs is working --- other/java/client/src/main/proto/filer.proto | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'other/java/client/src') 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; +} -- cgit v1.2.3