From 4b94b03d90a97dfd6fecc55e7091055bf5fc329c Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 27 Jul 2021 01:16:28 -0700 Subject: directory to remote storage mapping --- other/java/client/src/main/proto/filer.proto | 15 +++++++++++++++ 1 file changed, 15 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 23c841f18..12f9a8505 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -344,7 +344,9 @@ message LocateBrokerResponse { repeated Resource resources = 2; } +///////////////////////// // Key-Value operations +///////////////////////// message KvGetRequest { bytes key = 1; } @@ -360,7 +362,9 @@ message KvPutResponse { string error = 1; } +///////////////////////// // path-based configurations +///////////////////////// message FilerConf { int32 version = 1; message PathConf { @@ -376,6 +380,9 @@ message FilerConf { repeated PathConf locations = 2; } +///////////////////////// +// Remote Storage related +///////////////////////// message RemoteConf { string type = 1; string name = 2; @@ -384,3 +391,11 @@ message RemoteConf { string s3_region = 6; string s3_endpoint = 7; } + +message RemoteStorageMappingList { + repeated RemoteStorageMapping mappings = 1; +} +message RemoteStorageMapping { + string dir = 1; + string remote_storage_name = 2; +} -- cgit v1.2.3