@@ -20,11 +20,12 @@ The example will start a broker and some workers, then do some requests. The
2020output will be similar to this:
2121
2222```
23-
2423starting broker on tcp://127.0.0.1:5555
25- starting worker on tcp://127.0.0.1:5555
26- starting worker on tcp://127.0.0.1:5555
27- starting worker on tcp://127.0.0.1:5555
24+ starting broker on tcp://127.0.0.1:5555
25+ starting worker soda on tcp://127.0.0.1:5555
26+ starting worker tea on tcp://127.0.0.1:5555
27+ starting worker coffee on tcp://127.0.0.1:5555
28+ starting worker tea on tcp://127.0.0.1:5555
2829---------- Started -----------
2930requesting 'cola' from 'soda'
3031requesting 'oolong' from 'tea'
@@ -41,27 +42,30 @@ registered worker 00800041a9 for 'tea'
4142dispatching 'tea' 00800041ab req -> 00800041a7
4243dispatching 'tea' 00800041ac req -> 00800041a9
4344dispatching 'coffee' 00800041af req -> 00800041a8
44- dispatching 'tea' 00800041ac <- rep 00800041a9
45- dispatching 'tea' 00800041ad req -> 00800041a9
46- received 'sencha' from 'tea'
47- dispatching 'tea' 00800041ad <- rep 00800041a9
48- dispatching 'tea' 00800041ae req -> 00800041a9
49- received 'earl grey, with milk' from 'tea'
5045dispatching 'coffee' 00800041af <- rep 00800041a8
5146dispatching 'coffee' 00800041b0 req -> 00800041a8
5247received 'cappuccino' from 'coffee'
48+ dispatching 'tea' 00800041ab <- rep 00800041a7
49+ dispatching 'tea' 00800041ad req -> 00800041a7
50+ received 'oolong' from 'tea'
5351dispatching 'coffee' 00800041b0 <- rep 00800041a8
5452dispatching 'coffee' 00800041b1 req -> 00800041a8
5553received 'latte, with soy milk' from 'coffee'
5654dispatching 'coffee' 00800041b1 <- rep 00800041a8
5755dispatching 'coffee' 00800041b2 req -> 00800041a8
5856received 'espresso' from 'coffee'
57+ registered worker 00800041b3 for 'soda'
58+ dispatching 'soda' 00800041aa req -> 00800041b3
59+ dispatching 'soda' 00800041aa <- rep 00800041b3
60+ received 'cola' from 'soda'
61+ dispatching 'tea' 00800041ac <- rep 00800041a9
62+ dispatching 'tea' 00800041ae req -> 00800041a9
63+ received 'sencha' from 'tea'
5964dispatching 'tea' 00800041ae <- rep 00800041a9
6065received 'jasmine' from 'tea'
6166dispatching 'coffee' 00800041b2 <- rep 00800041a8
6267received 'irish coffee' from 'coffee'
63- dispatching 'tea' 00800041ab <- rep 00800041a7
64- received 'oolong' from 'tea'
65- timeout expired waiting for 'soda'
68+ dispatching 'tea' 00800041ad <- rep 00800041a7
69+ received 'earl grey, with milk' from 'tea'
6670---------- Stopping -----------
6771```
0 commit comments