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
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@ Broker: Extend `BrokerInterceptor` to allow plugins to intercept the "Get Topics
18
18
19
19
Client: Update the Java Client to forward Consumer properties to the lookup service when using Regex subscriptions.
20
20
21
+
Admin API & CLI: Update the REST API and CLI to accept properties for listing topics in a namespace.
22
+
21
23
# High Level Design
22
24
We will modify the Pulsar Protocol to carry a properties map. On the Broker side, we will add a new method to the BrokerInterceptor interface.
23
25
The default implementation will preserve the existing behavior (fetching from ZooKeeper). The Broker's connection handler will simply delegate the request to this strategy.
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
53
52
-
REST API:
54
+
REST API (URL encoding is required for values):
53
55
```
54
-
GET /admin/v2/persistent/{tenant}/{namespace} with a query params properties=k1=v1,k2=v2
56
+
GET /admin/v2/persistent/{tenant}/{namespace}?properties=k1=v1,k2=v2
55
57
```
56
58
57
59
CLI:
@@ -212,14 +214,15 @@ The regex consumer implementation (PatternMultiTopicsConsumerImpl) will be updat
0 commit comments