lhotari commented on PR #25124: URL: https://github.com/apache/pulsar/pull/25124#issuecomment-3710125747
> @lhotari I noticed that `sink`, `source`, `function`, and `worker` all depend on this method. #16377 fixed the behavior for `namespace`, `topic`, and related resources, but this method is still used by other admin resources. Therefore, fixing it here is important to ensure consistent behavior across all dependent components. > > `org.apache.pulsar.client.admin.internal.BaseResource.FutureCallback` should be deprecated. > > `org.apache.pulsar.client.admin.internal.BaseResource#asyncGetRequest(javax.ws.rs.client.WebTarget, java.lang.Class<? extends T>)` and `org.apache.pulsar.client.admin.internal.BaseResource#asyncGetRequest(javax.ws.rs.client.WebTarget, javax.ws.rs.core.GenericType<T>)` can handle most cases. @nodece Just wondering if something is currently broken due to the lack of properly handling 204 return code. -- 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]
