You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pip/pip-452.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,11 @@ We will modify the Pulsar Protocol to carry a properties map. On the Broker side
23
23
The default implementation will preserve the existing behavior (fetching from ZooKeeper). The Broker's connection handler will simply delegate the request to this strategy.
24
24
25
25
# Detailed Design
26
-
1. Protocol Changes
27
-
We update `PulsarApi.proto` to include the properties field.
26
+
27
+
## Public-facing Changes
28
+
29
+
### Protocol Changes
30
+
Update `PulsarApi.proto` to include the properties field.
Add `properties` parameter to the REST API endpoint for listing topics in a namespace to list topic with specific properties for customizable topic listing.
51
+
52
+
REST API:
53
+
```
54
+
GET /admin/v2/persistent/{tenant}/{namespace} with a query params properties=k1=v1,k2=v2
55
+
```
56
+
57
+
CLI:
58
+
```
59
+
pulsar-admin topics list <tenant>/<namespace> -p k1=v1 -p k2=v2"
60
+
```
61
+
62
+
## Design & Implementation Details
63
+
### Broker Changes
45
64
46
65
Add `TopicListingResult` for listing topic results
Protocol: Adding an optional field (properties) to the Protobuf definition is non-breaking. Old clients will not send this field; old brokers will ignore it.
0 commit comments