File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
include/ydb-cpp-sdk/client Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ namespace NYdb::NDataStreams::V1 {
106
106
Disabled = 1 ,
107
107
ScaleUp = 2 ,
108
108
ScaleUpAndDown = 3 ,
109
+ Paused = 4 ,
109
110
};
110
111
111
112
struct TCreateStreamSettings ;
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ enum class EAutoPartitioningStrategy: uint32_t {
33
33
Disabled = 1 ,
34
34
ScaleUp = 2 ,
35
35
ScaleUpAndDown = 3 ,
36
+ Paused = 4 ,
36
37
};
37
38
38
39
class TConsumer {
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ namespace NYdb::NDataStreams::V1 {
35
35
case EAutoPartitioningStrategy::ScaleUpAndDown:
36
36
strategy = ::Ydb::DataStreams::V1::AutoPartitioningStrategy::AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN;
37
37
break ;
38
+ case EAutoPartitioningStrategy::Paused:
39
+ strategy = ::Ydb::DataStreams::V1::AutoPartitioningStrategy::AUTO_PARTITIONING_STRATEGY_PAUSED;
40
+ break ;
38
41
}
39
42
40
43
pt->mutable_auto_partitioning_settings ()->set_strategy (strategy);
You can’t perform that action at this time.
0 commit comments