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 2021/02/02 07:03:00 UTC

[GitHub] [pulsar] Anonymitaet opened a new pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Anonymitaet opened a new pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422


   


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



[GitHub] [pulsar] Anonymitaet commented on pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#issuecomment-771427560


   @Huanli-Meng thanks for your comments, I've incorporated, PTAL.


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



[GitHub] [pulsar] Anonymitaet commented on pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#issuecomment-773823375






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



[GitHub] [pulsar] Anonymitaet commented on pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#issuecomment-773823375


   /pulsarbot run-failure-checks


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



[GitHub] [pulsar] Jennifer88huang commented on pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#issuecomment-772173639


   /pulsarbot run-failure-checks


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



[GitHub] [pulsar] Anonymitaet commented on pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#issuecomment-772386360


   /pulsarbot run-failure-checks


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



[GitHub] [pulsar] Huanli-Meng commented on a change in pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Huanli-Meng commented on a change in pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#discussion_r568369559



##########
File path: site2/docs/concepts-architecture-overview.md
##########
@@ -45,11 +45,17 @@ Clusters can replicate amongst themselves using [geo-replication](concepts-repli
 
 ## Metadata store
 
-Pulsar uses [Apache Zookeeper](https://zookeeper.apache.org/) for metadata storage, cluster configuration, and coordination. In a Pulsar instance:
+The Pulsar metadata store maintains all the metadata of a Pulsar cluster, such as topic metadata, schema, broker load data, and so on. Pulsar uses [Apache Zookeeper](https://zookeeper.apache.org/) for metadata storage, cluster configuration, and coordination. The Pulsar metadata store can be deployed on a separate ZooKeeper cluster or deployed on an existing ZooKeeper cluster.

Review comment:
       Zookeeper or ZooKeeper, should be consistent.

##########
File path: pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaceIsolationPolicy.java
##########
@@ -46,7 +46,7 @@
         @Parameter(names = "--namespaces", description = "comma separated namespaces-regex list", required = true, splitter = CommaParameterSplitter.class)
         private List<String> namespaces;
 
-        @Parameter(names = "--primary", description = "comma separated  primary-broker-regex list", required = true, splitter = CommaParameterSplitter.class)
+        @Parameter(names = "--primary", description = "comma separated  primary-broker-regex list. Before topics are assigned to brokers, you can set the namespace isolation policy with a primary or secondary regex to select desired brokers. If no broker matches the specified regex, you cannot create a topic. If the number of primary brokers are not enough, topics are assigned to secondary brokers. If the number of secondary brokers are not enough, topics are assigned to other brokers which do not have any isolation policies.", required = true, splitter = CommaParameterSplitter.class)

Review comment:
       ```suggestion
           @Parameter(names = "--primary", description = "comma separated  primary-broker-regex list. Before topics are assigned to brokers, you can set the namespace isolation policy with a primary or secondary regex to select desired brokers. If no broker matches the specified regex, you cannot create a topic. If there are not enough primary brokers, topics are assigned to secondary brokers. If there are not enough secondary brokers, topics are assigned to other brokers which do not have any isolation policies.", required = true, splitter = CommaParameterSplitter.class)
   ```




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



[GitHub] [pulsar] Anonymitaet merged pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Anonymitaet merged pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422


   


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



[GitHub] [pulsar] Huanli-Meng commented on a change in pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Huanli-Meng commented on a change in pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#discussion_r568369559



##########
File path: site2/docs/concepts-architecture-overview.md
##########
@@ -45,11 +45,17 @@ Clusters can replicate amongst themselves using [geo-replication](concepts-repli
 
 ## Metadata store
 
-Pulsar uses [Apache Zookeeper](https://zookeeper.apache.org/) for metadata storage, cluster configuration, and coordination. In a Pulsar instance:
+The Pulsar metadata store maintains all the metadata of a Pulsar cluster, such as topic metadata, schema, broker load data, and so on. Pulsar uses [Apache Zookeeper](https://zookeeper.apache.org/) for metadata storage, cluster configuration, and coordination. The Pulsar metadata store can be deployed on a separate ZooKeeper cluster or deployed on an existing ZooKeeper cluster.

Review comment:
       Zookeeper or ZooKeeper, should be consistent.

##########
File path: pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaceIsolationPolicy.java
##########
@@ -46,7 +46,7 @@
         @Parameter(names = "--namespaces", description = "comma separated namespaces-regex list", required = true, splitter = CommaParameterSplitter.class)
         private List<String> namespaces;
 
-        @Parameter(names = "--primary", description = "comma separated  primary-broker-regex list", required = true, splitter = CommaParameterSplitter.class)
+        @Parameter(names = "--primary", description = "comma separated  primary-broker-regex list. Before topics are assigned to brokers, you can set the namespace isolation policy with a primary or secondary regex to select desired brokers. If no broker matches the specified regex, you cannot create a topic. If the number of primary brokers are not enough, topics are assigned to secondary brokers. If the number of secondary brokers are not enough, topics are assigned to other brokers which do not have any isolation policies.", required = true, splitter = CommaParameterSplitter.class)

Review comment:
       ```suggestion
           @Parameter(names = "--primary", description = "comma separated  primary-broker-regex list. Before topics are assigned to brokers, you can set the namespace isolation policy with a primary or secondary regex to select desired brokers. If no broker matches the specified regex, you cannot create a topic. If there are not enough primary brokers, topics are assigned to secondary brokers. If there are not enough secondary brokers, topics are assigned to other brokers which do not have any isolation policies.", required = true, splitter = CommaParameterSplitter.class)
   ```




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



[GitHub] [pulsar] Anonymitaet commented on pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#issuecomment-771427560


   @Huanli-Meng thanks for your comments, I've incorporated, PTAL.


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



[GitHub] [pulsar] Anonymitaet commented on pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422#issuecomment-773826298


   /pulsarbot run-failure-checks


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



[GitHub] [pulsar] Anonymitaet merged pull request #9422: [Doc] Add descriptions for namespace isolation policy, configuration store, and metadata store

Posted by GitBox <gi...@apache.org>.
Anonymitaet merged pull request #9422:
URL: https://github.com/apache/pulsar/pull/9422


   


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