-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Conversation
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
@hnail The change looks great to me! It is a great refactor to support both AvroBased and UnAvroBased schemas. Thank you for your contributions! |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
Thank for your review ,I have commit a UnAvroBasedSchema |
### 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 。
### 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 。
Confirmed w/ @congbobo184, no need to update doc for this PR. |
Motivation
JAVA client support UnAvroBasedSchema
Modifications
schema
division to AvroBasedSchema and UnAvroBasedSchema :GenericSchema
addof()
method ,GenericSchemaImpl
andStructSchema
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 changesDocumentation