merlimat commented on issue #4271: Pulsar Avro Schema Enum improvement request
URL: https://github.com/apache/pulsar/issues/4271#issuecomment-492026257
 
 
   the problem here is that `MyEnum` is really of Python type `Enum`. That enum 
might be defined elsewhere in the application (or might be coming from a 
library), therefore we cannot count on passing `required=True` there. 
   
   We would have to add a `c = pulsar.schema.Enum(MyEnum, required=True)`
   

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