Specifically, for a partition of a partitioned persistent topic, the topic load process is as follows:
- Check if the topic exists (Metadata store:
/managed-ledgers/<persistence-naming-encoding>) - Get topic policies (via
TopicPoliciesService#getTopicPoliciesAsync) - Check topic ownership
- Check if the pending topic loading count exceeds the
maxConcurrentTopicLoadRequestconfig (default: 5000), if not, the following steps will be executed after the previous topic loading operations are completed. - Check topic ownership again
- Fetch topic properties (Metadata store:
/admin/partitioned-topics///persistent/)