momo-jun commented on code in PR #18379:
URL: https://github.com/apache/pulsar/pull/18379#discussion_r1017276960


##########
site2/docs/tutorials-namespace.md:
##########
@@ -0,0 +1,39 @@
+---
+Id: tutorials-namespace
+title: How to create a namespace
+sidebar_label: “Tutorials”
+—
+
+Pulsar namespaces are logical groupings of topics.
+
+Namespaces can be managed via:
+
+The namespaces command of the pulsar-admin tool
+The /admin/v2/namespaces endpoint of the admin {@inject: rest:REST:/} API
+The namespaces method of the PulsarAdmin object in the Java API
+
+In this tutorial, we create a namespace called pulsar in the tenant apache. 
Then we list namespaces of tenant apache to see if the namespace is created 
successfully.
+
+Create the namespace.
+
+`bin/pulsar-admin namespaces create apache/pulsar`
+
+Verify the namespace..
+
+`bin/pulsar-admin namespaces list apache`
+
+You should see similar output to show the namespace apache/pulsar has been 
successfully created.
+
+## Related Topics
+
+[Set up a tenant](tutorials-tenant.md)
+[Create a topic](tutorials-topic.md)
+[Produce and consume messages](tutorials-produce-consume.md)

Review Comment:
   `tutorials-produce-consume.md` is a new file and needs to be included in the 
PR.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to