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 2020/12/28 11:14:11 UTC

[GitHub] [pulsar] Jennifer88huang opened a new pull request #9071: [WIP] Add manage packages docs

Jennifer88huang opened a new pull request #9071:
URL: https://github.com/apache/pulsar/pull/9071


   ### Motivation
   In [PIP-50](https://github.com/apache/pulsar/wiki/PIP-50%3A-Package-Management), we introduce a new way to manage packages.
   
   ### Modifications
   
   Add related doc content based on the PIP and [REST API](https://pulsar.apache.org/packages-rest-api/?version=master&apiversion=v3#operation/listPackages).


----------------------------------------------------------------
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 #9071: [docs] Add manage packages docs

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


   @zymap Thank you very much for your support~


----------------------------------------------------------------
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] codelipenghui merged pull request #9071: [docs] Add manage packages docs

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


   


----------------------------------------------------------------
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 #9071: Add manage packages docs

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


   @zymap @tuteng could you please help check whether the commands / REST APIs are right? Thank you very much.


----------------------------------------------------------------
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] zymap commented on a change in pull request #9071: [docs] Add manage packages docs

Posted by GitBox <gi...@apache.org>.
zymap commented on a change in pull request #9071:
URL: https://github.com/apache/pulsar/pull/9071#discussion_r549594152



##########
File path: site2/docs/admin-api-packages.md
##########
@@ -0,0 +1,241 @@
+---
+id: admin-api-packages
+title: Manage packages
+sidebar_label: Packages
+---
+
+Package management enables version management and simplifies the upgrade and rollback processes for Functions, Sinks, and Sources. When you use the same function, sink and source in different namespaces, you can upload them to a common package management system.
+
+## Package name
+
+A `package` is identified by five parts: `type`, `tenant`, `namespace`, `package name`, and `version`.
+
+| Part  | Description |
+|-------|-------------|
+|`type` |The type of the package. The following types are supported: `function`, `sink` and `source`. |
+| `name`|The fully qualified name of the package: `<tenant>/<namespace>/<package name>`.|
+|`version`|The version of the package.|
+
+The following is a code sample.
+
+```java
+class PackageName {
+   private final PackageType type;
+   // REST API handlers.

Review comment:
       ```suggestion
   
   ```




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