Skip to content

Commit b35bb5f

Browse files
committed
Add example of --producer-names option usage
1 parent 737e562 commit b35bb5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/docs/asciidoc/performance-tool.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,14 @@ publishing sequence starting at 0 and incremented for each message).
456456
The same naming options apply as above in <<api.adoc#consumer-names, consumer names>> with the only
457457
difference that the default pattern is empty (i.e. no deduplication).
458458

459+
Here is an example of the usage of the `--producer-names` option:
460+
461+
----
462+
java -jar stream-perf-test.jar --producer-names %s-%d
463+
----
464+
465+
The run will start one producer and will use the `stream-1` producer reference (default stream is `stream` and the number of the producer is 1.)
466+
459467
=== Building the Performance Tool
460468

461469
To build the uber JAR:

0 commit comments

Comments
 (0)