loading...

Deleting Schemas From Cloudera Schema Registry

tspannhw profile image Timothy Spann Originally published at datainmotion.dev on ・1 min read

Deleting Schemas From Cloudera Schema Registry

It is very easy to delete schemas from Cloudera Schema Registry if you need to do so. I recommend downloading them and having a backup first.

Let's look at our schema

Well let's get rid of that junk.

Here is the documentation For CDF Datahub in CDP Public Cloud

https://docs.cloudera.com/cdf-datahub/7.0.2/using-schema-registry/topics/csp-deleting-schemas.html

Example

curl -X DELETE "http://MYSERVERHASACOOLNAME.DEV:7788/api/v1/schemaregistry/schemas/ junk" -H "accept: application/json"

Where junk is the name of my schema.

You could call this REST API from NiFi, a DevOps tool or just a simple CURL like listed above.

Knox and other security may apply.

Posted on by:

tspannhw profile

Timothy Spann

@tspannhw

I am a Principal Field Engineer for Data in Motion at Cloudera. I work with Apache NiFi, Apache Kafka, Apache Spark, Apache Flink, IoT, MXNet, DLJ.AI, Deep Learning, Machine Learning, Streaming...

Discussion

pic
Editor guide