sijie commented on a change in pull request #6356: Independent schema is set 
for each consumer generated by topic
URL: https://github.com/apache/pulsar/pull/6356#discussion_r380882886
 
 

 ##########
 File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java
 ##########
 @@ -813,4 +817,22 @@ public TransactionBuilder newTransaction() {
         return new TransactionBuilderImpl(this);
     }
 
+    @SuppressWarnings("unchecked")
+    private static Schema cloneSchema(Schema schema){
 
 Review comment:
   I think we need to implement the `clone` method for each schema 
implementation. So you can then just call `schema.clone()` to clone a schema.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to