You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/11/06 13:14:39 UTC
[GitHub] [pulsar] congbobo184 opened a new pull request #8464: Avro schema support user define reader and writer
congbobo184 opened a new pull request #8464:
URL: https://github.com/apache/pulsar/pull/8464
Fix #8430
## Motivation
in avro schema we can allow user define reader and writer to encode and decode message.
## implement
add the avro chema reader and writer constructor and add the default interface to handle multi version schema.
### Verifying this change
Add the tests for it
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: (Yes)
The schema: (Yes)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on pull request #8464: [Schema] Multi version schema reader implementation.
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on pull request #8464:
URL: https://github.com/apache/pulsar/pull/8464#issuecomment-725212390
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] sijie commented on a change in pull request #8464: [Schema] Multi version schema reader implementation.
Posted by GitBox <gi...@apache.org>.
sijie commented on a change in pull request #8464:
URL: https://github.com/apache/pulsar/pull/8464#discussion_r521144094
##########
File path: pulsar-client-api/src/main/java/org/apache/pulsar/client/api/schema/GenericSchema.java
##########
@@ -40,17 +39,4 @@
* @return generic record builder
*/
GenericRecordBuilder newRecordBuilder();
-
-
- static GenericSchema of(SchemaInfo schemaInfo) {
Review comment:
You can't just remove methods from a public API because it will cause code incompatibility issues.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codelipenghui merged pull request #8464: [Schema] Multi version schema reader implementation.
Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #8464:
URL: https://github.com/apache/pulsar/pull/8464
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on a change in pull request #8464: [Schema] Multi version schema reader implementation.
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on a change in pull request #8464:
URL: https://github.com/apache/pulsar/pull/8464#discussion_r521149574
##########
File path: pulsar-client-api/src/main/java/org/apache/pulsar/client/api/schema/GenericSchema.java
##########
@@ -40,17 +39,4 @@
* @return generic record builder
*/
GenericRecordBuilder newRecordBuilder();
-
-
- static GenericSchema of(SchemaInfo schemaInfo) {
Review comment:
OK, I will recover it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on pull request #8464: [Schema] Multi version schema reader implementation.
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on pull request #8464:
URL: https://github.com/apache/pulsar/pull/8464#issuecomment-725758698
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org