nodece commented on PR #24714: URL: https://github.com/apache/pulsar/pull/24714#issuecomment-3269099035
> Is it ok if I replace canLookup with canLookupAsync? Yes, you can make this replacement. After that, you can try removing the `thenComposeAsync`, but you still need to handle the fact that `canLookup`, `canConsume`, and `canProduce` are synchronized methods, since they are public. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org