Skip to content

Commit 825b862

Browse files
authored
[cleanup] remove unused config messagePublishBufferCheckIntervalInMillis (#24252)
1 parent 0cfed94 commit 825b862

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

deployment/terraform-ansible/templates/broker.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,6 @@ replicatedSubscriptionsSnapshotMaxCachedPerSubscription=10
410410
# Use -1 to disable the memory limitation. Default is 1/2 of direct memory.
411411
maxMessagePublishBufferSizeInMB=
412412

413-
# Interval between checks to see if message publish buffer size is exceed the max message publish buffer size
414-
# Use 0 or negative number to disable the max publish buffer limiting.
415-
messagePublishBufferCheckIntervalInMillis=100
416-
417413
# Check between intervals to see if consumed ledgers need to be trimmed
418414
# Use 0 or negative number to disable the check
419415
retentionCheckIntervalInSeconds=120

pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,13 +1474,6 @@ The max allowed delay for delayed delivery (in milliseconds). If the broker rece
14741474
private int maxMessagePublishBufferSizeInMB = Math.max(64,
14751475
(int) (DirectMemoryUtils.jvmMaxDirectMemory() / 2 / (1024 * 1024)));
14761476

1477-
@FieldContext(
1478-
category = CATEGORY_SERVER,
1479-
doc = "Interval between checks to see if message publish buffer size is exceed the max message publish "
1480-
+ "buffer size"
1481-
)
1482-
private int messagePublishBufferCheckIntervalInMillis = 100;
1483-
14841477
@FieldContext(category = CATEGORY_SERVER, doc = "Whether to recover cursors lazily when trying to recover a "
14851478
+ "managed ledger backing a persistent topic. It can improve write availability of topics.\n"
14861479
+ "The caveat is now when recovered ledger is ready to write we're not sure if all old consumers last mark "

0 commit comments

Comments
 (0)