Terraform is a universal tool to do resource management. Terraform has a plugin to manage Kafka topics. main.ft contains our topic management.
Before we start we need to initialize terraform state by invoking:
terraform init
To create topics (after installing terraform tool) simply invoke from cli:
terraform apply -auto-approve
To remove all topics:
terraform destroy -auto-approve
Kafka Schema is another tool to manage Kafka topics schemas. More about this you can read here
curl http://localhost:8085/schemas/types
curl http://localhost:8085/schemas
curl -X GET http://localhost:8085/subjects
curl -X GET http://localhost:8085/schemas
curl -X DELETE http://localhost:8085/subjects/message-topic-value