merlimat opened a new pull request #5188: Ensure getting list of topics for 
namespace is handled asynchronously
URL: https://github.com/apache/pulsar/pull/5188
 
 
   ### Motivation
   
   The handler for the `GetTopicsOfNamespace` on broker side is processing the 
request in sync mode. This is used when periodically fetching the list of 
topics from regex consumers. 
   
   Most of the time this is not an issue since the list of topics is locally 
cached in the zk children cache. Though when there is an eviction (eg. we 
discard all cached entries after 5mins), we're forced to do a blocking call.
   
   This call will block the IO thread for extended amount of time, impacting 
other topics as well.
   
   There must be no potentially blocking calls made from IO threads.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to