diff options
Diffstat (limited to 'weed/pb/messaging.proto')
| -rw-r--r-- | weed/pb/messaging.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/weed/pb/messaging.proto b/weed/pb/messaging.proto index ff50c4ce3..165542681 100644 --- a/weed/pb/messaging.proto +++ b/weed/pb/messaging.proto @@ -103,4 +103,10 @@ message TopicConfiguration { string collection = 2; string replication = 3; bool is_transient = 4; + enum Partitioning { + NonNullKeyHash = 0; // If not null, hash by key value. If null, round robin + KeyHash = 1; // hash by key value + RoundRobin = 2; // round robin pick one partition + } + Partitioning partitoning = 5; } |
