You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "asafm (via GitHub)" <gi...@apache.org> on 2023/03/23 15:22:03 UTC

[GitHub] [pulsar] asafm opened a new issue, #19912: PIP-261: d

asafm opened a new issue, #19912:
URL: https://github.com/apache/pulsar/issues/19912

   ### Motivation
   
   d
   
   ### Goal
   
   d
   
   ### API Changes
   
   d
   
   ### Implementation
   
   d
   
   ### Security Considerations
   
   d
   
   ### Alternatives
   
   d
   
   ### Anything else?
   
   _No response_


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] tisonkun commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1525283646

   > I've updated the PIP according to all comments.
   
   Thanks for your updates @asafm! I believe it's good to go for a vote now.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] asafm commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "asafm (via GitHub)" <gi...@apache.org>.
asafm commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1580053548

   This will be in motion soon


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1626466426

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1579756986

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] asafm commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "asafm (via GitHub)" <gi...@apache.org>.
asafm commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1520241695

   I've updated the PIP according to all comments.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] asafm commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "asafm (via GitHub)" <gi...@apache.org>.
asafm commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1489989713

   Thanks for the detailed reply!
   
   Regarding the suggestion of moving the getting started for each role into it's own sub-section of a bigger guide (developer, operator):
   
   I was thinking about it.
   My big plan was indeed to have 2 additional guides, a Developer Guide and an Operator Guide. If we zoom in, for example on the developer role, the two (getting started , developer) serve a completely different purpose:
   * The getting started guide is aimed at developers who hate learning by reading. They like to learn by doing. This mean, starting with a ready made example, tweak to their needs. Basically, tutorial style. They want "just" the minimum amount of knowledge to get it done. Hence this guide is designed exactly like that: examples, which includes the minimum amount of knowledge you need to understand them.
   * The developer guide on the other hand, is aimed at people who are the exact opposite: They like to read the book, sometimes start to finish before they even write a single line of code. Those people, like to understand first, do later. Hence the guide it self will really be designed like a book, explaining all the details.
   
   So, when I think about it, in my opinion it's confusing to have in the same guide, two contradictory sections: We'll have a Getting Started section which is basically a tutorial. So the people that like to read first do later, will be confused - "so we're suppose to get started here, but what's going on? I see code here, no no no. I want to understand first. what's going here?". On the other hand, the people like to do first, read later, will not search inside a Developer Guide the getting started. For them, a Developer's Guide is big scary book, filled with way too many details. If you ask them, all they want is tutorials, from the getting started ones, to more complicated ones. So I imagined having a section in the docs named Tutorials, that contains exactly that, grouped by role (developer, operator).
   
   So from that perspective I prefer to have:
   Getting Started
   Developer Guide
   Operator Guide
   
   
   Regarding second suggestion of having sub-pages of docs. You mean each guide will have their own "doc site"?
   I think it depends if Docosaurus allow more than 2 depths in the left side bar. I personally like all docs to be in a single location - I don't like to jump around between sites. That's my personal preference. 
   
   Regarding
   >If we put all the topics (as below) into a single [Get started](https://pulsar.apache.org/docs/next/getting-started-home/), all roles will read them all by sequence, which means a clear learning path is not designed in real.
   
   Why do you think that if the side bar has:
   Getting Started
        - Introduction to Pulsar using CLI
        - Introduction to Pulsar using sample applications
        - Introduction to Pulsar using operational scenarios
   
   then people will read them one after another?
   If I'm a developer, I would naturally ignore operational scenarios, right? Why do I care?
   
   I do agree the titles are too lengthy. 
   Maybe we can try:
   
   * Getting Started
      * Pulsar using CLI
         "Launch Pulsar locally, and "feel" it using the command line tools"
      * Pulsar using sample applications
         "Learn the 2 most popular use cases by running ready-made sample applications, and learning just what you need to get it working"
      * Pulsar using operational scenarios
         "Run a demo environment including apps, on k8s, and run through common operational scenarios"
   
   
   
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] momo-jun commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "momo-jun (via GitHub)" <gi...@apache.org>.
momo-jun commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1486454343

   Thanks for the further explanation. Adding a branch mode for `Docker Compose` looks good to me.
   
   Now I only have one concern - the structure of the TOC is not MECE and might be difficult to understand. 
   - `Consume and Produce messages using the CLI` is named from the user task perspective;
   - `Dev Getting Started` and `Ops Getting Started` are named from the user role perspective. 
   
   And logically, `Consume and Produce messages using the CLI` is part of `Dev Getting Started`, while operators don't have to go through it - I'm afraid the naming cannot help them get to this point.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] PIP-261: Restructure Getting Started section [pulsar]

Posted by "asafm (via GitHub)" <gi...@apache.org>.
asafm commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-2047582554

   My plan - TOC - for the documentation site:
   
   ### Quick-start Guides
   
   <aside>
   💡 The basic premise in a quick-start guide is to cater for those who want to learn by “hand”, thus we’ll learn by running a ready-made application, or building it piece by piece. We’ll have a couple of applications to showcase several features (e.g. streaming, job-queue)
   
   </aside>
   
   - “Feel Pulsar” using CLI. Audience: both dev & ops
       - Run pulsar using Docker; produce and consume messages using the command line
   - Developer Quick-start.
       - Each section will be an app showcasing pulsar features, starting from:
           - a basic job queue - messaging use-case
               - we’ll build 2 microservices: one that produces messages into a work queue, the other consuming them
               - we’ll explore the producer & consumer basic API
               - We’ll show the Shared & Failover subscription modes:
                   - what happens when I add a new consumer instance or when I kill one.
           - then a basic streaming app (like Kafka)
               - we’ll explore the key_shared & failover subscription
               - we’ll explore the reader API
               - we’ll observe that the messages will be consumed in the right order
           - then switch to the async API - completable future, MessageListener
       - we’ll first focus on Java, as this is the most adopted language
   - Operator Quick-start.
       - “Feel Pulsar” using CLI
           - Run pulsar using K8s; produce and consume messages using command line
       - Pulsar Show-case
           - Deploy
               - Deploy Pulsar to K8s - step-by-step instructions
               - Deploy Grafana and Prometheus using helm charts to showcase its ready-made dashboard
               - Deploy demo-data-generator app (docker image) and it’s matching Grafana dashboard
               - Deploy demo-data-consumer-app
           - Steps
               - Go to dashboards to see it’s working
               - Scale Pulsar pods from 3 to 6 to showcase load-balancer
               - Downscale Pulsar and BK to 2 to show all still works
               - …
   
   ### Developer Guide
   
   - Overview
       - What is Pulsar in high level, and it is capable of doing
           - High level description of Pulsar
           - Short typical use case description
           - Exhaustive list of Pulsar features, featuring 1-2 paragraph for each
       - Architecture
           - High level description of Pulsar’s architecture - 1 pager
   - Pulsar Concepts
       - Topics, Namespace and Tenant
           - Normal topic and Partitioned Topic
               - Quick reference of persistent vs non-persistent, and link to Pulsar Advanced features where it will be explained more thoroughly
           - Ack quorum, Write quorum (important config)
           - Namespaces - quick explanation of what it can do (like a feature list), with links to more detailed explanation in Pulsar Advanced page
           - Tenant - quick explanation of what it is, and it can do with link to a more detailed page.
           - Message retention and expiry
       - Producer
           - It’s role;
           - Different access modes
           - Routing modes for partitioned topics
           - Quick listing of advanced features : 1-2 sentence per each one with links to a more detailed page in other sections
               - Batching
               - Chunking
               - Working with Schema
           - Producing Guarantees
               - deduplicate? short explanation
       - Consumer & Subscription
           - How message consumption works in Pulsar
               - What is a subscription and what is a consumer and the links between them
               - Guarantees - like at-least once consumption
           - Subscription Types
               - Streaming-based consumption
                   - Cumulative acknowledgment
                   - Exclusive Subscription type
                   - Failover Subscription type
               - Individual-based consumption
                   - Individual acknowledgment
                   - Shared subscription type
                   - Key-shared subscription type
                       - quick explanation about the default hashing scheme, and link to `Hashing Schemes for Key Shared Subscription` in Advanced Subscriptions
           - Reader
               - What is a reader and it is used for
               - Quick explanation that it uses non-durable subscription and link to it in advanced
           - Multi-topic subscription
           - Processing Failures
               - Negative Acknowledgment
                   - including config for getting this message with fixed delay
               - Retries
                   - Exponential back-off retry;
                   - dead letter queue
                   - retry topic
               - Acknowledgment Timeout
       - Delayed Message Delivery
   - Pulsar Advanced Features
       - Performance-related
           - Batching
       - Chunking
       - Non-persistent Topics
       - Namespaces
       - Multi-tenancy
       - Advanced Consumption features
           - Hashing Schemes for Key Shared Subscription
           - Non-durable subscription
       - System Topics
       - Message Deduplication
       - Message Schema (Pulsar Schema)
       - Tiered Storage
       - Topic Compaction
       - Transactions
   - Pulsar Eco system
       - Pulsar Functions
       - Pulsar I/O
       - Pulsar SQL
       - Pulsar Proxy
       - 3rd party adaptors
   - Client Libraries
       - Pulsar Client…
       - Pulsar Admin Client
   - 
   
   ### Operator Guide
   
   - Operating Pulsar
       - Features
           - Tiered Storage
           - Geo Replication
           - Load Balancing
       - Security
           - Authentication and Authorization
       - Configuring
           - Multiple Advertised Listeners
       - Deployment
       - Tools
           - Pulsar Shell
           - Pulsar Manager
       - Monitoring
   
   ### Contributor Guide
   
   - Development Environment
       - Setup IDE
       - Running tests
   - Development Processes
       - PIP
       - Discussions
       - The Apache way
   - Under the hood - how things work internally
       - …
   - Performance
       - Simulation tools
   - Pulsar Plugins
   - References
       - Binary Protocol
   - Under the hood
       - How Acknowledgment works?
       - …


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] tisonkun commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1501458624

   Hi @asafm! Thanks for starting this thread.
   
   I reviewed this proposal in two aspects.
   
   ## Content
   
   For three journeys in the proposal, we have contents for two of them:
   
   * Getting started with CLI:
     * https://pulsar.apache.org/docs/2.11.x/getting-started-home/
   * Getting started for sample applications:
     * https://pulsar.apache.org/docs/2.11.x/how-to-landing/
   
   The closest pages for getting started with operations are under the "Administration" chapter https://pulsar.apache.org/docs/2.11.x/administration-zk-bk/, while we don't have a portal page or getting started page.
   
   ## Structure
   
   The "Get Started" chapter is located on the top of the sidebar, and it should be fine.
   
   The "Tutorial" chapter is somewhat hard to find, so we may set up some links or refactor the content and merge it into Get Started chapter.
   
   For reference, [grpc-java](https://grpc.io/docs/languages/java/quickstart/) has a Quickstart page to run the very simple demo and then a "Basic tutorial" page to talk about every basic concept.
   
   The operations getting started content needs to write and we may prepend it as the first item of "Administration" chapter.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Anonymitaet commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "Anonymitaet (via GitHub)" <gi...@apache.org>.
Anonymitaet commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1515748480

   @asafm @D-2-Ed thanks for your explanations! 
   
   Record some discussions here for further learning:
   
   - The reason for not creating a "Beginner" guide is that some devs might think it refers to "skill levels" rather than "newbies to Pulsar" (even though my intention is this). While the "Quick Start" is suitable for anyone with any skill level to try and "feel" Pulsar.
   - There are some nuances between the wording "Quick Start" and "Get Started". The former is more lightweight and quicker.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] asafm commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "asafm (via GitHub)" <gi...@apache.org>.
asafm commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1510200982

   Ok. I'll try to combine the suggestion made above.
   
   How about we'll have 3 headings as below:
   
   * Quick-start
   * Developers Guide
      * Getting Started
   * Operators Guide
      * Getting Started
   
   The quick start will contain the content I've placed under "Consume and Produce messages using the CLI". The main idea: give any role the ability to "feel" Pulsar locally, using the CLI. 
   
   The Developer Guide will be, over time, a comprehensive guide, like a book, to learn Pulsar targeted at Developers. It's Getting Started section will contain what placed under "Developer Getting Started", mainly aimed at people who wish to learn by "hand" as I explained in previous comments and in the PIP.
   
   Same with The Operator Guide, but for Operators (DevOps).
   
   ------
   
   @tisonkun @D-2-Ed 
   I don't like to call it the Getting Started section a tutorial, although it is built as one. People expects a Getting Started section to look like a tutorial. 
   I do think in the future we can have a dedicated Tutorial subsection for each guide.
   
   ----
   
   @tisonkun 
   > For three journeys in the proposal, we have contents for two of them:
   > 
   > Getting started with CLI:
   > https://pulsar.apache.org/docs/2.11.x/getting-started-home/
   > Getting started for sample applications:
   > https://pulsar.apache.org/docs/2.11.x/how-to-landing/
   > 
   
   The CLI journey - I plan to take the content from all three, but I simply structure it differently:
   
   Based on the revised solution I wrote, it will be located under Quick-start.
   Under it, you'll have two steps:
   (1) Starting Pulsar Locally
   (2) Publish and Consume messages using the CLI
   
   The (1) will contain subsections to start it locally using binary downloaded, or docker, both in stand-alone mode, or using docker compose as a complete cluster (including ZK, BK).
   Once you have a cluster up and running, you can continue to step (2) and use the CLI to publish and consume messages.
   
   Today, it's copied and pasted cross each flavor of starting Pulsar. 
   
   So in summary, I plan to re-use the existing content, and mainly restructure it.
   
   Regarding the Developer Guide / Getting Started. You mentioned "https://pulsar.apache.org/docs/2.11.x/how-to-landing/". This gives you a broken up tutorial (not one with steps). 
   Most importantly, it is not using code. Only via command line. The developer getting started section aimed to have a working application. Actually, 2 of those, matching the most popular use cases for pulsar, as detailed in the PIP.
   
   
   I hoped I answer all of your comments @tisonkun @D-2-Ed @Anonymitaet.
   Would love to hear your feedback on the suggestion I wrote in the beginning of the comment.
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] asafm commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "asafm (via GitHub)" <gi...@apache.org>.
asafm commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1488195941

   Your feedback is much appreciated and straight to the point.
   
   How we name the main headings as below?
   
   1. Introduction to Pulsar using CLI
   2. Introduction to Pulsar using sample applications
   3. Introduction to Pulsar using operational scenarios
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] asafm commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "asafm (via GitHub)" <gi...@apache.org>.
asafm commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1485347249

   Thanks for the feedback @momo-jun.
   From the looks of it, the doc website allows 2 depth level, that means the left pane will have:
   
   Getting Started Guide
      - Consume and Produce messages using the CLI
      - Developer Getting Started
      - Operator Getting Started
   
   Then each section will have the heading it contains per the TOC (depth level 3 will be H1, ...).
   
   Regarding your second question on what to do with existing Getting Started section.
   Running pulsar locally and Docker is included in the CLI section.
   running pulsar in K8s is included in Operator Getting Started
   
   
   "Run a Pulsar cluster locally with Docker Compose" is actually missing
   How about to tackle this we'll change the TOC to:
   
   - `1.1 Starting Pulsar locally`
       - `1.1.1. Standalone mode`
           
           Here we’ll explain the standalone mode and explain two ways to start pulsar on your development machine. In each section, we’ll show how to view the logs to check if Pulsar started ok.
           
           - `1.1.1.1 Using release binary`
               - `1.1.1.1.1. Downloading`
                   - include a very short description of the various folders you unpacked (one paragraph tops)
               - `1.1.1.1.2. Running`
           - `1.1.1.2. Using Docker`
       - `1.1.2. Cluster mode (Docker Compose)`
           
           Here we’ll take the content we have on the site showing how to start a Pulsar Cluster locally using Docker compose
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Anonymitaet commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "Anonymitaet (via GitHub)" <gi...@apache.org>.
Anonymitaet commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1489677523

   Hi @asafm 
   
   Thanks for your awesome proposal. The real-world examples are great additions to the docs! 
   
   ## Issues
   
   While there are some issues in the current proposal:
   
   1. The learning paths of 3 roles are blurred. 
   
         If we put all the topics (as below) into a single [Get started](https://pulsar.apache.org/docs/next/getting-started-home/), all roles will read them all by sequence, which means a clear learning path is not designed in real.  
    
       ```
       Introduction to Pulsar using CLI
       Introduction to Pulsar using sample applications
       Introduction to Pulsar using operational scenarios
       ```
   
   2. Headings are lengthy.
   
         [Main headings](https://github.com/apache/pulsar/issues/19912#issuecomment-1488195941) are too long.
   
       For example, for `Introduction to Pulsar using CLI`, actually users care little about the method (whether it's CLI or API) to produce msg.
       What they want is to try and get a successful result (with whatever the method) in a minimal time.
       So "method" can be hidden in headings to save space since headings should show the "keypoint" and be "concise" as much as possible.
   
   ## Solutions
   
   To resolve the issues above, I would suggest that:
   
   1. Create 3 guides for 3 roles respectively.
   
   2. Show 3 guides on the doc landing page to provide specific paths for different roles. Users do not need to wander on the Pulsar site or Google around to find suitable docs.
   
   3. Make 3 guides as subpages of https://pulsar.apache.org/docs since:
       - Each role has a "dedicated" container to show all relevant docs.
       - Resue docs from https://pulsar.apache.org/docs is possible.
   
   ### Reasons of proposed solutions
   
   (1) It highlights the roles and gives them what they need clearly. No missing or duplicates (MVP).
   
   (2) It makes short headings possible.
   
   Besides, for the common docs (e.g., concepts, references) which should be reused, we can link them richly in the 3 guides.
   
   <img width="1960" alt="image" src="https://user-images.githubusercontent.com/50226895/228725100-c1746c7c-e95a-4c1e-ad1b-8aaf9b17f9e8.png">
   
   ## Examples
   
   - [Starburst docs](https://docs.starburst.io/)
   
       Each role has its independent guide (sub-page).
   
   <img width="1145" alt="image" src="https://user-images.githubusercontent.com/50226895/228725174-5b25633e-40f0-4ff4-b8f8-3686e63e3989.png">
   
   
   
   
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] D-2-Ed commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "D-2-Ed (via GitHub)" <gi...@apache.org>.
D-2-Ed commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1496267564

   I wholeheartedly agree that the role-based learning paths are a great idea for future iterations of the documentation.
   
   In the short-term, it's a quick win to incrementally update the GSG. I suggest we title the first one "quickstart" and also link to it from GS menu on home page. And then call the others what they are: tutorials. WDYT?
   
   Getting Started
   - QuickStart
    "Launch Pulsar locally, and "feel" it using the command line tools"
   
   - Tutorials: Sample applications
    "Learn the 2 most popular use cases by running ready-made sample applications, and learning just what you need to get it working"
   
   - Tutorials: Operational scenarios
      "Run a demo environment including apps, on k8s, and run through common operational scenarios"
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] hangc0276 commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "hangc0276 (via GitHub)" <gi...@apache.org>.
hangc0276 commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1535624149

   @asafm Thanks for your proposal.
   
   From the engineering side, the new document structure meets the beginner's reading behavior. I like reading by doing and understanding the key concept in practice. The getting started section works like a book with a real-work example to show which case Pulsar can work for and how it works. Our current website divides the context into several parts and it's a little hard for beginners to link them together in the first reading.
   
   For the discussion of creating clear 3 guides for 3 roles, I think it may not be so important in the Getting Started section. The Getting Started section aims to provide the basic knowledge of Pulsar for all the roles. In fact, those knowledge is the basic part of the 3 roles.
   
   For the concept part, I suggest doing some comparisons between different concepts, such as different subscription types. 
   > This example will include a brief explanation about:
   Partitioned topic
   Failover subscription type
   Key in message
   Key-shared subscription
   Scaling consumers
   Correctly acknowledging key-shared subscription
   Correctly acknowledging failover subscription
   
   Overall LGTM. I think we can start the vote.
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] momo-jun commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "momo-jun (via GitHub)" <gi...@apache.org>.
momo-jun commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1485194859

   Hi Asaf, thanks for proposing this improvement. Generally it looks good. I support the motivation. 
   Structure-wise, I have a couple of questions.
   
   1. Is it the TOC inside an all-in-one topic or the TOC of the left navigation? In other words, did you plan to provide an all-in-one Getting Started topic covering three subheadings, or three topics for three specific types of readers? It seems to be one topic in your proposal, which may blur the learning path of different roles. For example, as an operator, will they still go through `Consume and Produce messages using the CLI` or jumpstart from `Deploy helm charts to k8s`?
   
   2. What is the content mapping of existing topics? IIUC, the new structure covers the following three topics. What's your plan to do with `Docker Compose`?
      ```
      1. Consume and Produce messages using the CLI // containing both `getting-started-standalone` and `getting-started- docker`
      2. Get started for Devs
      4. Get started for Ops // containing `getting-started-helm`
      ```


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Anonymitaet commented on issue #19912: PIP-261: Restructure Getting Started section

Posted by "Anonymitaet (via GitHub)" <gi...@apache.org>.
Anonymitaet commented on issue #19912:
URL: https://github.com/apache/pulsar/issues/19912#issuecomment-1491260868

   Hi @asafm 
   
   Thanks for your detailed explanations! 
   
   I understand your points, and I'm trying to make the learning path more **clear, simple, and direct** for each role.
   
   ### Reasons for designing 3 guides
   
   #### 1. Give prominent directions for users 
   
   Suppose that you're at a fork in the road, it's most **clear** for you to choose one way if the **sign** indicates the direction. 
   
   <img width="524" alt="image" src="https://user-images.githubusercontent.com/50226895/229011919-e972cb52-4375-4f83-88a2-d296c2512b02.png">
   
   This is the same for doc users. Whatever the user **archetypes** ("doing" or "learning") are, the most important thing is they're seeking solutions to resolve issues based on their **roles**. **The roles are signs**.
   
   So if we design the doc IA as below, users just need to choose one way based on their roles and finish the left journey. No other stuffs they need to take into consideration. It's **simple, clear, and direct**. 
   
   <img width="1057" alt="image" src="https://user-images.githubusercontent.com/50226895/229016765-9fe4111a-7fba-4ece-8943-186e2bba2f00.png">
   
   #### 2. Provide required minimal info for users
   
   > If we put all the topics (as below) into a single [Get started](https://pulsar.apache.org/docs/next/getting-started-home/), all roles will read them all by sequence, which means a clear learning path is not designed in real.
   
   Clarification: "read them all by sequence" means " all roles need to glance over all 3 headings (even though they are just interested in and click one later)" rather than "read them (docs) one after another".
   
   But if we design 3 guides respectively:
   - Beginners just need to read their Get Started (CLI)
   - Developers just need to read their Get Started (Job queue + Event sourcing)
   - Operators just need to read their Get Started (K8S)
   
   In this way, we provide the required info for each role at a minimal amount. Users will like it because it:
   - Saves some effort and time in reading unneeded info
   - Improves the efficiency of finding and using the info 
   - Makes users more confident in what they should and need to do
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org