Skip to content

Commit d5f97bf

Browse files
authored
[improve][broker] Add broker interceptor conf (apache#20719)
1 parent ac94296 commit d5f97bf

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

conf/broker.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,3 +1823,12 @@ managedLedgerCacheEvictionFrequency=0
18231823
# Number of worker threads to serve non-persistent topic
18241824
# Deprecated - use topicOrderedExecutorThreadNum instead.
18251825
numWorkerThreadsForNonPersistentTopic=
1826+
1827+
# The directory to locate broker interceptors
1828+
brokerInterceptorsDirectory=./interceptors
1829+
1830+
# List of broker interceptor to load, which is a list of broker interceptor names
1831+
brokerInterceptors=
1832+
1833+
# Enable or disable the broker interceptor, which is only used for testing for now
1834+
disableBrokerInterceptors=true

conf/standalone.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,3 +1269,12 @@ delayedDeliveryMaxIndexesPerBucketSnapshotSegment=5000
12691269
# after reaching the max buckets limitation, the adjacent buckets will be merged.
12701270
# (disable with value -1)
12711271
delayedDeliveryMaxNumBuckets=-1
1272+
1273+
# The directory to locate broker interceptors
1274+
brokerInterceptorsDirectory=./interceptors
1275+
1276+
# List of broker interceptor to load, which is a list of broker interceptor names
1277+
brokerInterceptors=
1278+
1279+
# Enable or disable the broker interceptor, which is only used for testing for now
1280+
disableBrokerInterceptors=true

0 commit comments

Comments
 (0)