From 1c6f9ed1f4fdf2fbf3a5aeb18ef5632dafc29df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Thu, 27 Jan 2022 17:34:22 +0100 Subject: [PATCH] Fix kafkaConfig docs --- docs/creating-a-benchmark.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/creating-a-benchmark.md b/docs/creating-a-benchmark.md index 2b1d93bbe..fde8ba075 100644 --- a/docs/creating-a-benchmark.md +++ b/docs/creating-a-benchmark.md @@ -115,15 +115,13 @@ If a benchmark is [executed by an Execution](running-benchmarks), these patchers ## Kafka Configuration -Theodolite allows to automatically create and remove Kafka topics for each SLO experiment. -Use the `removeOnly: True` property for topics which are created automatically by the SUT. -For those topics, also wildcards are allowed in the topic name. +Theodolite allows to automatically create and remove Kafka topics for each SLO experiment by setting a `kafkaConfig`. +It `bootstrapServer` needs to point your Kafka cluster and `topics` configures the list of Kafka topics to be created/removed. +For each topic, you configure its name, the number of partitions and the replication factor. -If no Kafka topics should be created, simply set: - -```yaml -kafkaConfig: [] -``` +With the `removeOnly: True` property, you can also instruct Theodolite to only remove topics and not create them. +This is useful when benchmarking SUTs, which create topics on their own (e.g., Kafka Streams and Samza applications). +For those topics, also wildcards are allowed in the topic name and, of course, no partition count or replication factor must be provided. <!-- Further information: API Reference --> -- GitLab