Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.06 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.06 KB

Terraform topic management

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

Schema management

Kafka Schema is another tool to manage Kafka topics schemas. More about this you can read here

Show schema types

curl http://localhost:8085/schemas/types

Show registered schemas

curl http://localhost:8085/schemas

show subjects

 curl -X GET http://localhost:8085/subjects

show schemas

 curl -X GET http://localhost:8085/schemas

Delete particular subject

 curl -X DELETE http://localhost:8085/subjects/message-topic-value