This is an automated email from the ASF dual-hosted git repository.
zixuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new d5f97bfae4d [improve][broker] Add broker interceptor conf (#20719)
d5f97bfae4d is described below
commit d5f97bfae4dca33af3e2622306284e18ede63e7f
Author: crossoverJie <[email protected]>
AuthorDate: Fri Jul 21 10:49:29 2023 +0800
[improve][broker] Add broker interceptor conf (#20719)
---
conf/broker.conf | 9 +++++++++
conf/standalone.conf | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/conf/broker.conf b/conf/broker.conf
index 57b9f1bd381..40eb1bcc324 100644
--- a/conf/broker.conf
+++ b/conf/broker.conf
@@ -1823,3 +1823,12 @@ managedLedgerCacheEvictionFrequency=0
# Number of worker threads to serve non-persistent topic
# Deprecated - use topicOrderedExecutorThreadNum instead.
numWorkerThreadsForNonPersistentTopic=
+
+# The directory to locate broker interceptors
+brokerInterceptorsDirectory=./interceptors
+
+# List of broker interceptor to load, which is a list of broker interceptor
names
+brokerInterceptors=
+
+# Enable or disable the broker interceptor, which is only used for testing for
now
+disableBrokerInterceptors=true
\ No newline at end of file
diff --git a/conf/standalone.conf b/conf/standalone.conf
index 46f4efbcf91..76223c5933e 100644
--- a/conf/standalone.conf
+++ b/conf/standalone.conf
@@ -1269,3 +1269,12 @@ delayedDeliveryMaxIndexesPerBucketSnapshotSegment=5000
# after reaching the max buckets limitation, the adjacent buckets will be
merged.
# (disable with value -1)
delayedDeliveryMaxNumBuckets=-1
+
+# The directory to locate broker interceptors
+brokerInterceptorsDirectory=./interceptors
+
+# List of broker interceptor to load, which is a list of broker interceptor
names
+brokerInterceptors=
+
+# Enable or disable the broker interceptor, which is only used for testing for
now
+disableBrokerInterceptors=true
\ No newline at end of file