BewareMyPower commented on issue #8136:
URL: https://github.com/apache/pulsar/issues/8136#issuecomment-699736838


   @jiazhai Just as I've said, appending a ledger is more efficient so it's the 
default behavior of delete schema. However, when we want to delete the topic 
but not only delete the schema, we need to delete the ledger instead of 
creating a new ledger. So we need to add an option to *delete* the schema when 
delete a topic.
   
   The current `deleteSchema` parameter of `deleteTopic` was not exposed, i.e. 
the API is like `deleteTopic(deleteSchema = false)` and is always called as 
`deleteTopic(false)`.
   
   By the way, the behavior of this parameter is also simply appending a new 
ledger, so we need to change it to deleting the existed schema ledgers.


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