coderzc commented on code in PR #25160:
URL: https://github.com/apache/pulsar/pull/25160#discussion_r2791300182


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/PersistentTopics.java:
##########
@@ -121,9 +123,11 @@ public void getList(
             @ApiParam(value = "Specify the bundle name", required = false)
             @QueryParam("bundle") String bundle,
             @ApiParam(value = "Include system topic")
-            @QueryParam("includeSystemTopic") boolean includeSystemTopic) {
+            @QueryParam("includeSystemTopic") boolean includeSystemTopic,
+            @ApiParam(value = "properties for customized topic listing plugin, 
format: k1=v1,k2=v2")
+            @QueryParam("properties") String propertiesStr) {

Review Comment:
   ```java
   Caused by: java.lang.IllegalStateException: Entity must be null for http 
method GET.
                at 
org.glassfish.jersey.client.JerseyInvocation.validateHttpMethodAndEntity(JerseyInvocation.java:151)
                at 
org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:97)
                at 
org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:93)
                at 
org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:82)
                at 
org.glassfish.jersey.client.JerseyInvocation$AsyncInvoker.method(JerseyInvocation.java:660)
                at 
org.glassfish.jersey.client.JerseyInvocation$AsyncInvoker.method(JerseyInvocation.java:590)
                at 
org.apache.pulsar.client.admin.internal.BaseResource.asyncGetRequestWithBody(BaseResource.java:194)
                at 
org.apache.pulsar.client.admin.internal.BaseResource.asyncGetRequestWithBody(BaseResource.java:202)
                at 
org.apache.pulsar.client.admin.internal.TopicsImpl.getListAsync(TopicsImpl.java:219)
                at 
org.apache.pulsar.client.admin.internal.TopicsImpl.lambda$getList$0(TopicsImpl.java:174)
                at 
org.apache.pulsar.client.admin.internal.BaseResource.sync(BaseResource.java:365)
                ... 43 more
   Caused by: [CIRCULAR REFERENCE: java.lang.IllegalStateException: Entity must 
be null for http method GET.]
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to