Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Client] java client support UnAvroBased Schema #8246

Merged
merged 5 commits into from
Oct 28, 2020

Conversation

hnail
Copy link
Contributor

@hnail hnail commented Oct 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 。

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
Copy link
Contributor Author

hnail commented Oct 14, 2020

/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
Copy link
Contributor Author

hnail commented Oct 16, 2020

/pulsarbot run-failure-checks

@sijie
Copy link
Member

sijie commented Oct 21, 2020

@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
Copy link
Member

sijie commented Oct 21, 2020

/pulsarbot run-failure-checks

@codelipenghui
Copy link
Contributor

/pulsarbot run-failure-checks

@hnail
Copy link
Contributor Author

hnail commented Oct 27, 2020

@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
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