Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do the wildcards work when binding to topic exchanges?

0
Posted

How do the wildcards work when binding to topic exchanges?

0

Routing keys (and so binding patterns) used with topic exchanges are dot.separated.strings.like.this. Use “*” to match a single segment in the routing key: foo.*.zot will match foo.bar.zot, and foo.quux.zot, but not foo.bar.quux.zot. Use “#” to match zero or more segments in the routing key: foo.#.zot will match all three of foo.bar.zot, foo.quux.zot, and foo.bar.quux.zot, as well as foo.zot.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.