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:
[email protected]


With regards,
Apache Git Services

Reply via email to