codelipenghui commented on a change in pull request #11441:
URL: https://github.com/apache/pulsar/pull/11441#discussion_r678495836



##########
File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/MessageImpl.java
##########
@@ -64,6 +64,7 @@
     private ByteBuf payload;
 
     private Schema<T> schema;
+    private SchemaInfo schemaInfo;

Review comment:
       For the schema replication, we don't need to convert schemaInfo to 
schema for the local topic and then convert the schema to the schemaInfo for 
the remote topic. Or we only need to pass the schemaInfo to the message which 
need to replicate to the remote cluster.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to