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/05/15 05:51:13 UTC

[GitHub] [pulsar] codelipenghui commented on issue #4271: Pulsar Avro Schema Enum improvement request

codelipenghui commented on issue #4271: Pulsar Avro Schema Enum improvement request
URL: https://github.com/apache/pulsar/issues/4271#issuecomment-492513659
 
 
   @moonboots300 I think you can add annotation `org.apache.avro.reflect.Nullable` for enum which you want it allow null. withAlwaysAllowNull(true) equivalent to `org.apache.avro.reflect.Nullable` for every field.

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