monedula-gitops
Declarative GitOps for Apache Kafka topics, access, quotas, schemas, SCRAM users and Confluent RBAC, from a CLI or a Kubernetes operator.
On this page
monedula-gitops manages Apache Kafka resources as declarative, Kubernetes-style YAML that you keep in Git. It validates your manifests, compares them with the live cluster and applies only the operations needed to converge; Safety gates lists the changes that wait for approval.
What it manages
Every resource uses apiVersion: gitops.monedula.dev/v1alpha1.
- KafkaCluster describes how to connect to a Kafka cluster and, optionally, to its Schema Registry, Confluent MDS and Kafka REST API.
- KafkaTopic declares one topic: its partitions and configuration, the principals that produce to and consume from it, and its Schema Registry subjects.
- KafkaAccessPolicy holds ACL rules that do not belong to a single topic, such as prefixed patterns,
Denyrules and shared consumer groups. - KafkaQuota sets client quotas per user, client id or IP address.
- KafkaRoleBinding declares a Confluent RBAC role binding, managed through the Confluent Platform Metadata Service (MDS).
- KafkaUser declares a Kafka SCRAM principal: its username, mechanism and password.
- KafkaMirrorTopic declares a Confluent mirror topic on an existing cluster link.
One model, two runtimes
You run the CLI from a terminal or a CI/CD pipeline; the Kubernetes operator reconciles custom resources inside your cluster. Both load the same kinds through one diff and execution engine, and One model, two runtimes lists where they differ, mainly credentials and approvals.
Where to start
- New to monedula-gitops: follow Get started with the CLI or Get started with the operator.
- Already running a cluster: Import an existing Kafka cluster generates manifests from live state.
- Giving applications access to a topic: Grant producers and consumers access.
- Catching changes made outside Git: Detect and fix drift.
- Looking up a command, flag or exit code: the CLI overview.
Conventions in the how-to guides
Unless a guide names one runtime, it works with the CLI and a cluster config file, cluster.yaml in the commands, or with the operator and a KafkaCluster resource; Connect to a secured Kafka cluster shows how to write either. The examples name the cluster shared: set clusterRef.name to the metadata.name of your own KafkaCluster.
Supported platforms
monedula-gitops works with Apache Kafka and Confluent Platform, and manages topics, ACLs and Schema Registry subjects on Confluent Cloud; Supported platforms and versions lists the details and the CI-tested versions.
Version and license
These docs describe monedula-gitops 1.3.0. The tool is open source under the AGPL-3.0 license, and its source and runnable scenarios are on GitHub. Using it on your own clusters, as a CLI or as an operator in your own infrastructure, does not oblige you to share your code or manifests: AGPL obligations apply when you distribute it, modified or not, or let others use a modified version over a network. For commercial licensing, contact us.