srkukarni commented on a change in pull request #4022: Making use of builtin
schemas for primitive types
URL: https://github.com/apache/pulsar/pull/4022#discussion_r274247250
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/schema/ShortSchema.java
##########
@@ -33,15 +33,15 @@ public static ShortSchema of() {
}
private static final ShortSchema INSTANCE = new ShortSchema();
- private static final SchemaInfo SCHEMA_INFO = new SchemaInfo()
+ public static final SchemaInfo SCHEMA_INFO = new SchemaInfo()
.setName("INT16")
.setType(SchemaType.INT16)
.setSchema(new byte[0]);
Review comment:
see above
----------------------------------------------------------------
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