You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/06/19 02:36:31 UTC

[GitHub] [pulsar] jiazhai commented on a change in pull request #4548: [schema] key/value schema enhancement

jiazhai commented on a change in pull request #4548: [schema] key/value schema enhancement
URL: https://github.com/apache/pulsar/pull/4548#discussion_r294661892
 
 

 ##########
 File path: pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Schema.java
 ##########
 @@ -54,6 +55,13 @@ default void validate(byte[] message) {
         decode(message);
     }
 
+    /**
+     * {@inheritDoc}
+     */
+    default byte[] write(T message) {
 
 Review comment:
   what is the benefit to have a write method?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services