You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/11/01 07:44:22 UTC

[GitHub] [pulsar] codelipenghui commented on a change in pull request #5515: [Transaction Coordinator] Bootstrap pulsar system namespace and create TC assign topic.

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:
users@infra.apache.org


With regards,
Apache Git Services