<@U078Y59KC3B> If i'm trying to delete a topic I'm...
# ask-ai
m
@RunLLM If i'm trying to delete a topic I'm getting error
Delete forbidden topic is replicated on clusters [cluster-a]
r
You cannot directly delete a geo-replicated topic if it is still replicated to other clusters. Pulsar will return an error (HTTP 422) like "Delete forbidden topic is replicated on clusters cluster-a]" if you attempt this, because deletion is not allowed while geo-replication is enabled on the topic or namespace. To delete the topic, you must first remove it from the replication clusters, or wait for automatic garbage collection after all producers, consumers, and subscriptions are removed in every cluster. See [Pulsar geo-replication topic deletion docs and relevant PR. Would you like more detail on how to remove replication clusters or trigger garbage collection? Sources: - Pulsar geo-replication topic deletion docs - PR: Make response code to 400/422 when delete topic fails due to enabled geo-replication 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.