Skip to content

Commit 2d0e279

Browse files
ImeevMAlocker
authored andcommitted
proto: introduce CDC section for space creation
Needed for tarantool/aeon#573
1 parent 51463ff commit 2d0e279

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

aeon_ddl.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ service DDLService {
1717
// Creates a space with the given definition.
1818

1919
message CreateSpaceRequest {
20+
// CDC section of a space definition.
21+
message CDC {
22+
// Queue topic to push captured data changes to.
23+
string topic = 1;
24+
// Queue message TTL, in seconds.
25+
double ttl = 2;
26+
}
2027
// Name of the new space.
2128
string name = 1;
2229
// Format of the new space.
@@ -25,6 +32,8 @@ message CreateSpaceRequest {
2532
repeated KeyPartDef key_def = 3;
2633
// Storage engine.
2734
Engine engine = 4;
35+
// CDC configuration.
36+
CDC cdc = 5;
2837
}
2938

3039
message CreateSpaceResponse {

0 commit comments

Comments
 (0)