Skip to content

Commit f160324

Browse files
author
Igor Melnichenko
committed
Max active partitions is being set from now
1 parent 50b241a commit f160324

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

topic/src/main/java/tech/ydb/topic/impl/TopicClientImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public CompletableFuture<Status> createTopic(String path, CreateTopicSettings se
107107
if (partitioningSettings != null) {
108108
requestBuilder.setPartitioningSettings(YdbTopic.PartitioningSettings.newBuilder()
109109
.setMinActivePartitions(partitioningSettings.getMinActivePartitions())
110+
.setMaxActivePartitions(partitioningSettings.getMaxActivePartitions())
110111
.setPartitionCountLimit(partitioningSettings.getPartitionCountLimit())
111112
.setAutoPartitioningSettings(YdbTopic.AutoPartitioningSettings.newBuilder()
112113
.setStrategy(toProto(partitioningSettings.getAutoPartitioningStrategy()))));

0 commit comments

Comments
 (0)