codelipenghui commented on a change in pull request #5515: [Transaction 
Coordinator] Bootstrap pulsar system namespace and create TC assign topic.
URL: https://github.com/apache/pulsar/pull/5515#discussion_r341477246
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
 ##########
 @@ -472,6 +472,11 @@ public Boolean get() {
             // Register heartbeat and bootstrap namespaces.
             this.nsService.registerBootstrapNamespaces();
 
+            // Register pulsar system namespaces
+            if (config.isTransactionCoordinatorEnabled()) {
+               
this.nsService.registerNamespace(NamespaceName.SYSTEM_NAMESPACE.toString(), 
false);
 
 Review comment:
   Added a new PulsarTransactionCoordinatorMetadataSetup,  use this setup can 
create pulsar/system namespace and tc assign partitioned topic.
   
   Considering we don't have documentation for transaction now, i would like to 
create a task to track the document.

----------------------------------------------------------------
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