Skip to content

Commit 060b58d

Browse files
lucperkinsmerlimat
authored andcommitted
Document Pulsar and Kafka "modes" (openmessaging#13)
* add .tfvars files and update READMEs * add variables for number of instances * fix terraform formatting * add docs for pulsar and kafka 'modes'
1 parent ee535e0 commit 060b58d

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

driver-kafka/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,10 @@ $ cd /opt/benchmark
107107
$ sudo bin/benchmark --drivers driver-kafka/kafka.yaml workloads/*.yaml
108108
```
109109

110+
There are multiple Kafka "modes" for which you can run benchmarks. Each mode has its own YAML configuration file in the `driver-kafka` folder.
111+
112+
Mode | Description | Config file
113+
:----|:------------|:-----------
114+
Standard | Kafka with message idempotence disabled (at-least-once semantics) | `kafka.yaml`
115+
Exactly once | Kafka with message idempotence enabled ("exactly-once" semantics) | `kafka-exactly-once.yaml`
116+
Sync | Kafka with durability enabled (all published messages synced to disk) | `kafka-sync.yaml`

driver-kafka/kafka-sync.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
# Kafka driver profile that is configuring to sync all
2121
# published messages to disk to achieve durability
22-
2322
name: Kafka
2423
driverClass: io.openmessaging.benchmark.driver.kafka.KafkaBenchmarkDriver
2524

driver-pulsar/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,9 @@ $ cd /opt/benchmark
107107
$ sudo bin/benchmark --drivers driver-pulsar/pulsar.yaml workloads/*.yaml
108108
```
109109

110+
There are multiple Pulsar "modes" for which you can run benchmarks. Each mode has its own YAML configuration file in the `driver-pulsar` folder.
111+
112+
Mode | Description | Config file
113+
:----|:------------|:-----------
114+
Standard | Pulsar with message de-duplication disabled (at-least-once semantics) | `pulsar.yaml`
115+
Effectively once | Pulsar with message de-duplication enabled ("effectively-once" semantics) | `pulsar-effectively-once.yaml`

driver-pulsar/pulsar-effectively-once.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

20-
name: Pulsar-exactly-once
20+
name: Pulsar-effectively-once
2121
driverClass: io.openmessaging.benchmark.driver.pulsar.PulsarBenchmarkDriver
2222

2323
# Pulsar client-specific configuration

0 commit comments

Comments
 (0)