File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
include/ydb-cpp-sdk/client/draft Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 3
3
#include < ydb-cpp-sdk/client/scheme/scheme.h>
4
4
#include < ydb-cpp-sdk/client/driver/driver.h>
5
5
6
+ #include < optional>
7
+
6
8
namespace Ydb ::Replication {
7
9
class ConnectionParams ;
8
10
class DescribeReplicationResult ;
@@ -74,6 +76,7 @@ class TReplicationDescription {
74
76
struct TItem {
75
77
std::string SrcPath;
76
78
std::string DstPath;
79
+ std::optional<std::string> SrcChangefeedName;
77
80
};
78
81
79
82
enum class EState {
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ message DescribeReplicationResult {
43
43
message Item {
44
44
string source_path = 1 ;
45
45
string destination_path = 2 ;
46
+ optional string source_changefeed_name = 3 ;
46
47
}
47
48
48
49
message RunningState {
Original file line number Diff line number Diff line change @@ -92,6 +92,8 @@ TReplicationDescription::TReplicationDescription(const Ydb::Replication::Describ
92
92
Items_.push_back (TItem{
93
93
.SrcPath = item.source_path (),
94
94
.DstPath = item.destination_path (),
95
+ .SrcChangefeedName = item.has_source_changefeed_name ()
96
+ ? std::make_optional (item.source_changefeed_name ()) : std::nullopt,
95
97
});
96
98
}
97
99
You can’t perform that action at this time.
0 commit comments