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_r383462097
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/schema/AutoConsumeSchema.java
##########
@@ -132,6 +132,11 @@ public void configureSchemaInfo(String topicName,
}
}
+ @Override
+ public Schema<GenericRecord> cloneSchema() {
+ return Schema.AUTO_CONSUME();
Review comment:
When you implementing `cloneSchema`, don't you need to copy the fields to
the new instance?
----------------------------------------------------------------
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