You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yet another CLI utility to automate Kafka cluster management
6
+
5
7
**Kafka-Ops** is a command-line utility written in Go and mostly inspired by [KafkaSpecs](https://github.com/streamthoughts/kafka-specs) java tool. It allows to automate Kafka management by describing resources (topics, ACLs) and their configs in spec-files and applying them to Kafka cluster. Kafka-Ops uses AdminClient Kafka API to align cluster resources with the spec idempotently. The spec can be manifested either in YAML or JSON format.
6
8
7
9
@@ -52,6 +54,7 @@ acls:
52
54
The format is quite evident. Just few remarks:
53
55
* The topic config values are always strings
54
56
* The topic config value can be set to *default*. This will remove the per-topic setting and the topic will be using the cluster default value
57
+
* *replication_factor* for topic is optional. If utility will need to create the topic and this setting will not be defined then it will be set to 1 on single-node clusters and to 2 on multi-node clusters
55
58
* The ACL operation is described as *OperationType:Host*
56
59
57
60
kafka-cluster-example2.json:
@@ -215,7 +218,7 @@ You need golang and GNU make to be installed.
215
218
make build
216
219
```
217
220
218
-
If you have rpm-build installed then you may build RPM-package
221
+
If you have rpm-build installed then you can build RPM-package
0 commit comments