This is an automated email from the ASF dual-hosted git repository.
xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-python.git
The following commit(s) were added to refs/heads/main by this push:
new 865bc9d Disable topic level policies to make tests work for latest
Pulsar (#201)
865bc9d is described below
commit 865bc9d3d8a3f793c759acc67a60dcb0c947675b
Author: Yunze Xu <[email protected]>
AuthorDate: Mon Feb 19 10:08:18 2024 +0800
Disable topic level policies to make tests work for latest Pulsar (#201)
See https://lists.apache.org/thread/gjdvl1ys71k9mknwypxgkbsdyjwr31yt
---
tests/test-conf/standalone-ssl.conf | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/test-conf/standalone-ssl.conf
b/tests/test-conf/standalone-ssl.conf
index beed278..74a0b37 100644
--- a/tests/test-conf/standalone-ssl.conf
+++ b/tests/test-conf/standalone-ssl.conf
@@ -310,3 +310,8 @@ maxMessageSize=1024000
# Disable consistent hashing to fix flaky
`KeySharedConsumerTest#testMultiTopics`.
subscriptionKeySharedUseConsistentHashing=false
+
+# It's true by default since 2.11. After
https://github.com/apache/pulsar/pull/21445, we must configure
+# brokerClientAuthenticationPlugin and brokerClientAuthenticationParameters
correctly when enabling topic
+# level policies. Otherwise, no topic could be loaded.
+topicLevelPoliciesEnabled=false