@@ -46,9 +46,10 @@ The containers use the https://docs.docker.com/network/host/[host network],
4646this is perfect for experimenting locally.
4747
4848.Running the broker and performance tool with the host network driver
49+ [source,shell,subs="attributes,specialcharacters"]
4950----
5051# run the broker
51- docker run -it --rm --name rabbitmq --network host rabbitmq:3.10
52+ docker run -it --rm --name rabbitmq --network host rabbitmq:{broker-version}
5253# open another terminal and enable the stream plugin
5354docker exec rabbitmq rabbitmq-plugins enable rabbitmq_stream
5455# run the performance tool
@@ -69,11 +70,12 @@ the https://docs.docker.com/network/bridge/[bridge network driver], this
6970can be done by defining a network and running the containers in this network.
7071
7172.Running the broker and performance tool with the bridge network driver
73+ [source,shell,subs="attributes,specialcharacters"]
7274----
7375# create a network
7476docker network create stream-perf-test
7577# run the broker
76- docker run -it --rm --network stream-perf-test --name rabbitmq rabbitmq:3.10
78+ docker run -it --rm --network stream-perf-test --name rabbitmq rabbitmq:{broker-version}
7779# open another terminal and enable the stream plugin
7880docker exec rabbitmq rabbitmq-plugins enable rabbitmq_stream
7981# run the performance tool
@@ -690,4 +692,4 @@ Then run the tool:
690692
691693----
692694java -jar target/stream-perf-test.jar
693- ----
695+ ----
0 commit comments