codelipenghui commented on pull request #10878:
URL: https://github.com/apache/pulsar/pull/10878#issuecomment-858382380


   Is it better to add such methods in the Schema interface directly:
   
   ```
   boolean isKeyValue();
   
   Schema getKeySchema();
   
   Schema getValueSchema();
   ```
   
   So that we don't need to convert to KeyValueSchema interface and then to get 
the key schema and the value schema


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


Reply via email to