merlimat closed pull request #1983: Add documentation for schema CLI
URL: https://github.com/apache/incubator-pulsar/pull/1983
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/site/_data/cli/pulsar-admin.yaml b/site/_data/cli/pulsar-admin.yaml
index dbbbf794a1..46fc0a4fac 100644
--- a/site/_data/cli/pulsar-admin.yaml
+++ b/site/_data/cli/pulsar-admin.yaml
@@ -730,9 +730,22 @@ commands:
       description: A bundle of the form `{start-boundary}_{end_boundary}`.
     - flags: -n, --namespace
       description: The namespace as `property/cluster/namespace`, for example 
`my-prop/my-cluster/my-ns`.
-- name: topics
-  description: Operations related to Pulsar topics of all kinds (both 
persistent and non-persistent)
+- name: schemas
+  description: Operations related to Schemas associated with Pulsar topics.
   subcommands:
-  - name: compact
-    description: Runs a compaction operation on the specified topic
-    argument: topic-name
+  - name: upload
+    description: Upload the schema definition for a topic
+    argument: persistent://tenant/namespace/topic
+    options:
+    - flags: --filename
+      description: The path to the schema definition file. An example schema 
file is available under `conf` directory.
+  - name: delete
+    description: Delete the schema definition associated with a topic
+    argument: persistent://tenant/namespace/topic
+  - name: get
+    description: Retrieve the schema definition assoicated with a topic (at a 
given version if version is supplied).
+    argument: persistent://tenant/namespace/topic
+    options:
+    - flags: --version
+      description: The version of the schema definition to retrive for a topic.
+


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to