Skip to content

[Client] java client support UnAvroBased Schema#8246

Merged
codelipenghui merged 5 commits into
apache:masterfrom
hnail:support_UnAvroBasedSchema
Oct 28, 2020
Merged

[Client] java client support UnAvroBased Schema#8246
codelipenghui merged 5 commits into
apache:masterfrom
hnail:support_UnAvroBasedSchema

Conversation

@hnail

@hnail hnail commented Oct 13, 2020

Copy link
Copy Markdown
Contributor

Motivation

JAVA client support UnAvroBasedSchema

Modifications

  • schema division to AvroBasedSchema and UnAvroBasedSchema :
AvroBased Schema UnAvroBased Schema
StructSchema AbstractStructSchema
GenericSchemaImpl AbstractGenericSchema
  • GenericSchema add of() method , GenericSchemaImpl and StructSchema continue to have for backward compatibility and only support AvroBased Schema 。

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no )
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

  • Does this pull request introduce a new feature? (yes)
  • If yes, how is the feature documented? (not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation (yes)

@hnail

hnail commented Oct 14, 2020

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@hnail hnail changed the title JAVA client support UnAvroBasedSchema java client support UnAvroBasedSchema Oct 14, 2020
@hnail hnail changed the title java client support UnAvroBasedSchema [Client] java client support UnAvroBasedSchema Oct 14, 2020
@hnail hnail changed the title [Client] java client support UnAvroBasedSchema [Client] java client support UnAvroBased Schema Oct 14, 2020
@codelipenghui codelipenghui added this to the 2.7.0 milestone Oct 15, 2020
@hnail

hnail commented Oct 16, 2020

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@sijie

sijie commented Oct 21, 2020

Copy link
Copy Markdown
Member

@hnail The change looks great to me! It is a great refactor to support both AvroBased and UnAvroBased schemas. Thank you for your contributions!

@sijie

sijie commented Oct 21, 2020

Copy link
Copy Markdown
Member

/pulsarbot run-failure-checks

@codelipenghui

Copy link
Copy Markdown
Contributor

/pulsarbot run-failure-checks

@hnail

hnail commented Oct 27, 2020

Copy link
Copy Markdown
Contributor Author

@hnail The change looks great to me! It is a great refactor to support both AvroBased and UnAvroBased schemas. Thank you for your contributions!

Thank for your review ,I have commit a UnAvroBasedSchema ProtobufNative<PIP-Add ProtobufNative Schema Support> and PR-8372 which depends this PR. cc @codelipenghui

@codelipenghui
codelipenghui merged commit 5955930 into apache:master Oct 28, 2020
@hnail
hnail deleted the support_UnAvroBasedSchema branch November 12, 2020 08:51
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Nov 13, 2020
### Motivation

JAVA client support UnAvroBasedSchema

### Modifications

- `schema` division to **AvroBasedSchema** and **UnAvroBasedSchema** :

AvroBased Schema | UnAvroBased Schema
------------ | -------------
StructSchema | AbstractStructSchema
GenericSchemaImpl | AbstractGenericSchema

- `GenericSchema` add `of()` method , `GenericSchemaImpl` and `StructSchema` continue to have for backward compatibility and only support AvroBased Schema 。
flowchartsman pushed a commit to flowchartsman/pulsar that referenced this pull request Nov 17, 2020
### Motivation

JAVA client support UnAvroBasedSchema

### Modifications

- `schema` division to **AvroBasedSchema** and **UnAvroBasedSchema** :

AvroBased Schema | UnAvroBased Schema
------------ | -------------
StructSchema | AbstractStructSchema
GenericSchemaImpl | AbstractGenericSchema

- `GenericSchema` add `of()` method , `GenericSchemaImpl` and `StructSchema` continue to have for backward compatibility and only support AvroBased Schema 。
@Anonymitaet

Copy link
Copy Markdown
Member

Confirmed w/ @congbobo184, no need to update doc for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants