This is to demontrate what we can use to automate kafka operations such as adding ACLs, Topics and Topic Configs.
- Terraform
- Kafka provider for terraform
- Optional
- docker-compose will be required if wanting to run against a local instance of kafka
# Bring up all services
./local-env/start-all.sh
# change into the dev directory
cd dev
# Initialise terraform
terraform init
# See what will change when terraform runs.
terraform plan
# Apply the changes
terraform apply
component | port | url |
---|---|---|
kafka | 9092 | |
kafka-rest | 8082 | http://localhost:8082 |
kafka-topics-ui | 8000 | http://localhost:8000 |
jenkins | 8080 | http://localhost:8080 |
Sequence Diagram
Diagrams are made with http://chartmage.com/index.html
Flow Diagram
- Integrate jenkins hook