mgodave commented on issue #1551: Json schema codec
URL: https://github.com/apache/incubator-pulsar/pull/1551#issuecomment-380928449
 
 
   > * When we attempt to create the producer, we should validate the schema 
this producer is about to start sending is compatible with the last schema we 
have in store, otherwise the producer should be denied.
   > * Same for consumer, if the type is incompatible we should fail the 
consumer creation.
   
   This will have to happen in the broker. At this very moment I have zero idea 
what it means for two JSON schemas to be "compatible", this will take some 
additional research.
   
   > * We should have tests to do basic operations on the JSON schema, eg: get 
the schemas for a topic, delete, create, update
   
   fair enough
   
   > * We should be able to have a check to control whether schema is enforced 
or not for topics of a particular namespace.
   
   "check", do you mean a config parameter?
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to