Hello,
I’m new to Pulsar and try to understand its running principle. I think
I’m familiar the basic concept in Pulsar but confused with the whole running
process. I know the message belongs to one topic will be sent to the
corresponding topic, Now I wonder to know how Pulsar create a topic and its
namespace before that. I search the Pulsar code, and found NamespaceService and
found it’s responsible for namespace manage and found PersistentTopic which is
responsible for topic manage. I found Namespace has registerBootstrapNamespaces
method to register bootstrap namespaces, is the heartbeat and other information
implemented using Pulsar namespace and is there some specific design document?
If I send message to a new topic, how Pulsar create namespace and topic? Now
I’m lost in finding connections with different class to understand the process,
how can I accelerate this work? by step into the call stack when broker run or
other?