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 2020/09/28 02:36:05 UTC

[GitHub] [pulsar] BewareMyPower commented on issue #8136: Question about deleting a topic's schema

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