From 26ea9b18dad79423ee23c114c45be263f4dca26a Mon Sep 17 00:00:00 2001 From: Yike Xiao Date: Fri, 7 Nov 2025 15:32:53 +0800 Subject: [PATCH] Remove unused configuration maxMessageSizeCheckIntervalInSeconds The configuration `maxMessageSizeCheckIntervalInSeconds` was introduced in #11141. After the topic local cache was added (#12830), this configuration became obsolete and is now unused. --- conf/broker.conf | 4 ---- conf/standalone.conf | 4 ---- deployment/terraform-ansible/templates/broker.conf | 4 ---- 3 files changed, 12 deletions(-) diff --git a/conf/broker.conf b/conf/broker.conf index 8fd0e18af3696..29e060f4a38c8 100644 --- a/conf/broker.conf +++ b/conf/broker.conf @@ -725,10 +725,6 @@ maxMessagePublishBufferSizeInMB= # Use 0 or negative number to disable the check retentionCheckIntervalInSeconds=120 -# Control the frequency of checking the max message size in the topic policy. -# The default interval is 60 seconds. -maxMessageSizeCheckIntervalInSeconds=60 - # Max number of partitions per partitioned topic # Use 0 or negative number to disable the check maxNumPartitionsPerPartitionedTopic=0 diff --git a/conf/standalone.conf b/conf/standalone.conf index 708d4905b8ab3..5aa2b7cb73d07 100644 --- a/conf/standalone.conf +++ b/conf/standalone.conf @@ -145,10 +145,6 @@ maxPendingPublishRequestsPerConnection=1000 # How frequently to proactively check and purge expired messages messageExpiryCheckIntervalInMinutes=5 -# Check between intervals to see if max message size in topic policies has been updated. -# Default is 60s -maxMessageSizeCheckIntervalInSeconds=60 - # How long to delay rewinding cursor and dispatching messages when active consumer is changed activeConsumerFailoverDelayTimeMillis=1000 diff --git a/deployment/terraform-ansible/templates/broker.conf b/deployment/terraform-ansible/templates/broker.conf index 7b9c5a84cf2ce..1ccfbacecb04a 100644 --- a/deployment/terraform-ansible/templates/broker.conf +++ b/deployment/terraform-ansible/templates/broker.conf @@ -414,10 +414,6 @@ maxMessagePublishBufferSizeInMB= # Use 0 or negative number to disable the check retentionCheckIntervalInSeconds=120 -# Check between intervals to see if max message size in topic policies has been updated. -# Default is 60s -maxMessageSizeCheckIntervalInSeconds=60 - # Max number of partitions per partitioned topic # Use 0 or negative number to disable the check maxNumPartitionsPerPartitionedTopic=0