sijie commented on issue #7752:
URL: https://github.com/apache/pulsar/issues/7752#issuecomment-669633854


   > Is it better if we just specify the schema version instead of whole 
SchemaInfo?
   
   We send the schema definition when a client connect to a broker, so the 
broker can verify the compatibility of a schema. If we only send the schema 
version, there is no way for us to verify if the client is using the right 
schema. Because a client can just provide a random schema number and produce 
the data with a different schema.
   
   > but in my scenario, the client needs to connect and close connection 
everytime it consume/produce message. 
   
   Can you explain a bit more about your use case? I would like to understand 
more why you need to connect and close connection every time it consumes and 
produce messages. This is an anti-pattern of using Pulsar.
   


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


Reply via email to