|
| 1 | +<!-- |
| 2 | +RULES |
| 3 | +* Never place a link to an external site like Google Doc. The proposal should be in this issue entirely. |
| 4 | +* Use a spelling and grammar checker tools if available for you (there are plenty of free ones). |
| 5 | +
|
| 6 | +PROPOSAL HEALTH CHECK |
| 7 | +I can read the design document and understand the problem statement and what you plan to change *without* resorting to a couple of hours of code reading just to start having a high level understanding of the change. |
| 8 | +
|
| 9 | +IMAGES |
| 10 | +If you need the diagrams, please create a folder named pcip-XXX under the [pcip/static/img](https://github.com/apache/pulsar-java-contrib/tree/master/pcip/static/img) path and put the images in. |
| 11 | +
|
| 12 | +THIS COMMENTS |
| 13 | +Please remove them when done. |
| 14 | +--> |
| 15 | + |
| 16 | +# PCIP-XXX: Proposal title |
| 17 | + |
| 18 | +# Background knowledge |
| 19 | + |
| 20 | +<!-- |
| 21 | +Describes all the knowledge you need to know in order to understand all the other sections in this PCIP |
| 22 | +
|
| 23 | +* Give a high level explanation on all concepts you will be using throughout this document. For example, if you want to talk about Persistent Subscriptions, explain briefly (1 paragraph) what this is. If you're going to talk about Transaction Buffer, explain briefly what this is. |
| 24 | + If you're going to change something specific, then go into more detail about it and how it works. |
| 25 | +* Provide links where possible if a person wants to dig deeper into the background information. |
| 26 | +
|
| 27 | +DON'T |
| 28 | +* Do not include links *instead* explanation. Do provide links for further explanation. |
| 29 | +
|
| 30 | +EXAMPLES |
| 31 | +* See [PCIP-2](https://github.com/apache/pulsar-java-contrib/pull/6), Background section to get an understanding on how you add the background knowledge needed. |
| 32 | + (They also included the motivation there, but ignore it as we place that in Motivation section explicitly). |
| 33 | +--> |
| 34 | + |
| 35 | +# Motivation |
| 36 | + |
| 37 | +<!-- |
| 38 | +Describe the problem this proposal is trying to solve. |
| 39 | +
|
| 40 | +* Explain what is the problem you're trying to solve - current situation. |
| 41 | +* This section is the "Why" of your proposal. |
| 42 | +--> |
| 43 | + |
| 44 | +# Goals |
| 45 | + |
| 46 | +## In Scope |
| 47 | + |
| 48 | +<!-- |
| 49 | +What this PCIP intend to achieve once It's integrated into Pulsar. |
| 50 | +Why does it benefit Pulsar. |
| 51 | +--> |
| 52 | + |
| 53 | +## Out of Scope |
| 54 | + |
| 55 | +<!-- |
| 56 | +Describe what you have decided to keep out of scope, perhaps left for a different PCIP/s. |
| 57 | +--> |
| 58 | + |
| 59 | + |
| 60 | +# High Level Design |
| 61 | + |
| 62 | +<!-- |
| 63 | +Describe the design of your solution in *high level*. |
| 64 | +Describe the solution end to end, from a birds-eye view. |
| 65 | +Don't go into implementation details in this section. |
| 66 | +
|
| 67 | +I should be able to finish reading from beginning of the PCIP to here (including) and understand the feature and |
| 68 | +how you intend to solve it, end to end. |
| 69 | +
|
| 70 | +DON'T |
| 71 | +* Avoid code snippets, unless it's essential to explain your intent. |
| 72 | +--> |
| 73 | + |
| 74 | +# Detailed Design |
| 75 | + |
| 76 | +## Design & Implementation Details |
| 77 | + |
| 78 | +<!-- |
| 79 | +This is the section where you dive into the details. It can be: |
| 80 | +* Concrete class names and their roles and responsibility, including methods. |
| 81 | +* Code snippets of existing code. |
| 82 | +* Interface names and its methods. |
| 83 | +* ... |
| 84 | +--> |
| 85 | + |
| 86 | +## Public-facing Changes |
| 87 | + |
| 88 | +<!-- |
| 89 | +Describe the additions you plan to make for each public facing component. |
| 90 | +Remove the sections you are not changing. |
| 91 | +Clearly mark any changes which are BREAKING backward compatability. |
| 92 | +--> |
| 93 | + |
| 94 | +### Public API |
| 95 | +<!-- |
| 96 | +When adding a new endpoint to the REST API, please make sure to document the following: |
| 97 | +
|
| 98 | +* path |
| 99 | +* query parameters |
| 100 | +* HTTP body parameters, usually as JSON. |
| 101 | +* Response codes, and for each what they mean. |
| 102 | + For each response code, please include a detailed description of the response body JSON, specifying each field and what it means. |
| 103 | + This is the place to document the errors. |
| 104 | +--> |
| 105 | + |
| 106 | +### Configuration |
| 107 | + |
| 108 | +### CLI |
| 109 | + |
| 110 | +# Get started |
| 111 | + |
| 112 | +## Quick Start |
| 113 | + |
| 114 | +<!-- |
| 115 | +Introduce how to use it and teach users how to use it quickly |
| 116 | +--> |
0 commit comments