File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,23 +94,23 @@ Namespace-level configuration allows per-namespace control of which topic proper
9494** CLI Examples:**
9595
9696``` bash
97- # Set allowed properties
97+ # Set allowed properties keys
9898pulsar-admin namespaces set-allowed-topic-properties-for-metrics \
99- --properties sla_tier,owner,environment \
99+ --keys sla_tier,owner,environment \
100100 my-tenant/my-namespace
101101
102- # Get allowed properties
102+ # Get allowed properties keys
103103pulsar-admin namespaces get-allowed-topic-properties-for-metrics my-tenant/my-namespace
104104
105- # Remove configuration
105+ # Remove allowed properties keys
106106pulsar-admin namespaces remove-allowed-topic-properties-for-metrics my-tenant/my-namespace
107107```
108108
109109** Java Admin API:**
110110
111111``` java
112112public interface Namespaces {
113- void setAllowedTopicPropertiesForMetrics (String namespace , Set<String > allowedProperties ) throws PulsarAdminException ;
113+ void setAllowedTopicPropertiesForMetrics (String namespace , Set<String > allowedKeys ) throws PulsarAdminException ;
114114 Set<String > getAllowedTopicPropertiesForMetrics (String namespace ) throws PulsarAdminException ;
115115 void removeAllowedTopicPropertiesForMetrics (String namespace ) throws PulsarAdminException ;
116116}
You can’t perform that action at this time.
0 commit comments