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/07/27 06:46:51 UTC

[GitHub] [pulsar] sijie opened a new issue #4831: Pulsar schema doesn't do compatibility check for primitive types

sijie opened a new issue #4831: Pulsar schema doesn't do compatibility check for primitive types
URL: https://github.com/apache/pulsar/issues/4831
 
 
   **Describe the bug**
   
   Currently Pulsar schema doesn't do compatibility check for primitive types. That says if a consumer connect to a topic with a different schema type. It still can connect and receive messages. Exception is only thrown when retrieving the values from the received messages.
   
   
   **To Reproduce**
   Steps to reproduce the behavior:
   
   1. Send messages with `Schema.STRING`
   2. Consume messages with `Schema.INT32`
   
   **Expected behavior**
   
   The consumer should be rejected when subscribing.
   

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