Skip to content

Commit

Permalink
[improve][broker]Optimize the partition size of the system theme to r…
Browse files Browse the repository at this point in the history
…educe resource consumption
  • Loading branch information
zjxxzjwang committed Dec 31, 2024
1 parent d04fe96 commit 586d1fc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ protected void setup() throws Exception {
conf.setAllowAutoTopicCreation(false);
conf.setAllowAutoTopicCreationType(TopicType.PARTITIONED);
conf.setDefaultNumPartitions(PARTITIONS);
conf.setSystemTopicDefaultNumPartitions(PARTITIONS);
conf.setManagedLedgerMaxEntriesPerLedger(1);
conf.setBrokerDeleteInactiveTopicsEnabled(false);
conf.setTransactionCoordinatorEnabled(true);
Expand Down

0 comments on commit 586d1fc

Please sign in to comment.