@codelipenghui This change will cause more load on zookeeper. For each topic loaded, we would have to do a read for the policy of that topic when loading the topic policy, even if no topic policy exists.
How does the broker get notified of updated to the policy for a topic? If we add a watcher, that's a watcher per topic. We should consider if there's another way of doing this without placing more load on ZK, such as in a 'system' topic. [ Full content available at: https://github.com/apache/pulsar/issues/2688 ] This message was relayed via gitbox.apache.org for [email protected]
