central-team-repo
and application-team-repo
.
/clusters
. Here the cluster state is assumed to be maintained by a combination of some infrastructure as code (IaC) and container management provider e.g. a Terraform and Kubernetes type setup. No need to change this file as you’ll see below a full example is provided for you to test. They may have groups defined in code here too.
The central team has defined three teams, clickstream, wikipedia and website-analytics each with their own Application, as can be seen by their respective yaml files in /applications
.
Each of these files contains the definition of both their Application and Application Instances. The central team also have folders for their topic policies and user groups.
This example will focus on the website-analytics team.
The website analytics team has their own “repo” for their resource, which for this example will be the application-team-repo
directory. Within they have defined their Kafka resources (topics, schema registry subjects, connectors), application group(s) for permissions within their team and an application instance permission for granting a different team access to their resource.
admin@conduktor.io
: adminP4ss!
docker-compose.yml
file and assign the value you just copied to the CDK_API_KEY
environment variable for the conduktor-ctl
service. Save the file and re-run docker compose up -d
to create the Conduktor CLI container:
website-analytics-team
. We are going to assign ownership of our Application to this group, so the group must exist before creating this Application creation.New API Key
. Click Copy this value.docker-compose.yml
again to swap in the new value for CDK_API_KEY
and restart docker compose againgeneric-prod-topic-policy
(check out the file, which specifies the following rules:
data-criticality
label must be provided with one of the specified values---
as part of appending this block, to indicate a new resource block.
topics.yaml
used in this example contains topics for both the prod and the dev cluster; this application instance’s key can’t create topics on the dev cluster, as expected. We didn’t get this earlier as we were using the admin API key.
The last message is the one of interest, an appropriate error from the policy we just reviewed:
Ctrl + D
and run docker compose down -v
.
To discuss your requirements or find out more about Self-service, book a demo.