[Doc] Add docs for ProtobufNative Schema#9079
Merged
Merged
Conversation
Anonymitaet
requested review from
Huanli-Meng,
Jennifer88huang-zz and
codelipenghui
December 29, 2020 09:09
Member
Author
|
@congbobo184 could u pls help review? Thank you. |
| * to use different serialization/deserialization methods to handle data | ||
| |Type|Description| | ||
| ---|---| | ||
| `AvroBaseStructSchema`|Pulsar uses [Avro Specification](http://avro.apache.org/docs/current/spec.html) to declare the schema definition for `AvroBaseStructSchema`, which supports `AvroSchema`, `JsonSchema`, and `ProtobufSchema`. <br><br>This allows Pulsar:<br>- to use same tools to manage schema definitions<br>- to use different serialization or deserialization methods to handle data| |
Contributor
There was a problem hiding this comment.
... to use the same tools...
| There are two methods to use `struct` schema: | ||
| ##### Usage | ||
|
|
||
| Pulsar provides three methods to use the `struct` schema: |
Contributor
There was a problem hiding this comment.
Technically, it's 100% correct.
I suggest that we use "Pulsar provides the following methods to ...."
When people add more methods below, they usually forget to update the specific number.
Member
Author
|
@jennifer88huang thanks for your suggestions. I've incorporated your comments, PTAL. |
Jennifer88huang-zz
approved these changes
Dec 30, 2020
sijie
approved these changes
Dec 30, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add docs based on #8372 and update the green-highlighted parts.
