pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] sijie commented on a change in pull request #3876: Add the multi version schema support
Date Thu, 21 Mar 2019 09:54:07 GMT
sijie commented on a change in pull request #3876: Add the multi version schema support
URL: https://github.com/apache/pulsar/pull/3876#discussion_r267677377
 
 

 ##########
 File path: tests/integration/src/test/java/org/apache/pulsar/tests/integration/schema/Schemas.java
 ##########
 @@ -57,6 +58,23 @@
 
     }
 
+    /**
+     * A Person Struct.
+     */
+    @Data
+    @Getter
+    @Setter
+    @ToString
+    @EqualsAndHashCode
+    public static class PersonConsumeSchema {
+
+        private String name;
+        private int age;
+        @AvroDefault("\"man\"")
+        private String sex;
 
 Review comment:
   use `gender` (male, and female)

----------------------------------------------------------------
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

Mime
View raw message