Skip to content

Commit 787e896

Browse files
committed
fix: update terminology for allowed topic properties in PIP-447 documentation
1 parent 77f1c22 commit 787e896

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

pip/pip-447.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
9898
pulsar-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
103103
pulsar-admin namespaces get-allowed-topic-properties-for-metrics my-tenant/my-namespace
104104

105-
# Remove configuration
105+
# Remove allowed properties keys
106106
pulsar-admin namespaces remove-allowed-topic-properties-for-metrics my-tenant/my-namespace
107107
```
108108

109109
**Java Admin API:**
110110

111111
```java
112112
public 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
}

0 commit comments

Comments
 (0)