pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] merlimat opened a new pull request #3522: Ignore namespace in schema validation
Date Tue, 05 Feb 2019 00:46:09 GMT
merlimat opened a new pull request #3522: Ignore namespace in schema validation
URL: https://github.com/apache/pulsar/pull/3522
 
 
   ### Motivation
   
   Right now we use Avro schema definition to validate the compatibility of schemas for Avro,
JSON and Protobuf. 
   
   When the schema is extracted from a POJO with Avro tools, the "namespace" is set to the
schema. The "namespace" is actually the Java package name for the pojo.
   
   When declaring schemas in Python, the Java package name is of little relevance, and we
should just ignore it when validating the schema, since in our case, the topic is already
providing a sort of namespacing.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message