Skip to content

Commit

Permalink
Optons (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelZaytsev authored Sep 6, 2023
1 parent 823d27f commit 45a4f52
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/src/main/proto/corfu_options.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ message SchemaOptions {
repeated string stream_tag = 5;
// Nested Secondary Key (repeated field)
repeated SecondaryIndex secondary_key = 6;
// The combination of client and logical_group name to indicate how data is to be replicated.
optional ReplicationLogicalGroup replication_group = 7;
}

message SecondaryIndex {
Expand All @@ -28,6 +30,14 @@ message SecondaryIndex {
optional string index_name = 2;
}

message ReplicationLogicalGroup {
// Logical group name that helps club a number of tables into one group for Log Replication.
required string logical_group = 1;
// Client Name refers to the name of this replicated table's owner
// It can be used on the sink side of replication to apply or consume the incoming replicated updates.
required string client_name = 2;
}

// Field options to be extended in the user's protobuf fields.
extend google.protobuf.FieldOptions {
// 1036 is in the extendable range in the descriptor.proto.
Expand Down

0 comments on commit 45a4f52

Please sign in to comment.