Skip to content

Commit fb37f93

Browse files
Doc guides: properly explain --predeclared
1 parent 1708b4f commit fb37f93

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/docs/asciidoc/usage-advanced.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
[[predeclared-topology]]
2+
== Using a Predeclared Topology
3+
4+
`Perftest` can both declare a topology for its publishers and consumers, and use
5+
an existing topology declared via different means (for example, by real applications
6+
that are being benchmarked).
7+
8+
To configure `PerfTest` to use an existing topology, use the `--predeclared` flag
9+
in combination with either `--exchange` (with publishers) or `--queue` (`-queue-pattern`)
10+
in the case of consumers.
11+
12+
If the topology uses https://rabbitmq.com/docs/quorum-queues[quorum queues], passing
13+
`--quorum-queues` may be necessary, and would also help clarify the intent to a human
14+
reader or an AI agent.
15+
16+
java -jar perf-test.jar --producers 1 --consumers 0 \
17+
--predeclared --routing-key rk --exchange x --use-millis
18+
19+
120
[[customising-queues]]
221
== Customising queues
322

0 commit comments

Comments
 (0)