Denovo1998 commented on code in PR #17449:
URL: https://github.com/apache/pulsar/pull/17449#discussion_r1092134058
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/schema/AutoConsumeSchema.java:
##########
@@ -153,6 +163,10 @@ public SchemaInfo getSchemaInfo(byte[] schemaVersion) {
return null;
}
+ public SchemaInfo getAutoConsumeSchemaInfo() {
Review Comment:
You can of course create a SchemaInfo here.
https://github.com/apache/pulsar/pull/17449/files#r1061103612
But I feel like giving `AutoConsumeSchema` a "default" schemaInfo. Using it
in `ConsumerImpl` will make the code a little cleaner. What do you think of my
thoughts here.
--
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]