Skip to content

[Doc] Add docs for ProtobufNative Schema#9079

Merged
sijie merged 2 commits into
apache:masterfrom
Anonymitaet:master
Dec 30, 2020
Merged

[Doc] Add docs for ProtobufNative Schema#9079
sijie merged 2 commits into
apache:masterfrom
Anonymitaet:master

Conversation

@Anonymitaet

Copy link
Copy Markdown
Member

Add docs based on #8372 and update the green-highlighted parts.
schema doc architecture

@Anonymitaet

Copy link
Copy Markdown
Member Author

@congbobo184 could u pls help review? Thank you.

@congbobo184 congbobo184 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread site2/docs/schema-understand.md Outdated
* 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|

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... to use the same tools...

Comment thread site2/docs/schema-understand.md Outdated
There are two methods to use `struct` schema:
##### Usage

Pulsar provides three methods to use the `struct` schema:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Anonymitaet

Copy link
Copy Markdown
Member Author

@jennifer88huang thanks for your suggestions. I've incorporated your comments, PTAL.

@sijie sijie added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Dec 30, 2020
@sijie sijie added this to the 2.8.0 milestone Dec 30, 2020
@sijie
sijie merged commit 2981152 into apache:master Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants