anchor.diff:  mytopic
   ----
   
  -The _routingType_ of the address is Multicast:
  -----
  -./artemis address show --url tcp://<messaging-address>:<port> --name mytopic
  +The `routingType` of the address is `MULTICAST`:
  +[source=bash,options="nowrap"]
  +----
  +$ ./artemis address show --url tcp://<messaging-address>:<port> --name mytopic
  +
   Address [name=mytopic, routingTypes={MULTICAST}, autoCreated=false]
   ----
   
  -
  -=== Pooled Queue
  -==== Broker view 
  -
  -Creates both an address and a queue on Artemis:
  +====== Router View
  +
  +
  +A pooled topic adds the following resources to the router:
  +
  +* A *connection* to the broker pod is created.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -c
  +Connections
  +  id   host                 container                             role             dir  security                              authentication                 tenant
  +  ===================================================================================================================================================================
  +  665  172.17.0.12:37816    broker-0                              route-container  in   TLSv1.2(ECDHE-RSA-AES256-SHA384)      CN=broker,O=io.enmasse(x.509)  
  +  ...
  +----
  +
  +* Two *addresses* are created: a `link-in` and  a `link-out` address.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -a
  +Router Addresses
  +  class     addr                   phs  distrib       in-proc  local  remote  cntnr  in     out    thru  to-proc  from-proc
  +  ===========================================================================================================================
  +  link-in   mytopic                     linkBalanced  0        0      0       1      0      0      0     0        0
  +  link-out  mytopic                     linkBalanced  0        0      0       1      0      0      0     0        0
  +  ...
  +----
  +
  +* These addresses are *link route* addresses.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat --linkroutes
  +Link Routes
  +  address  dir  distrib       status
  +  ======================================
  +  mytopic  in   linkBalanced  active
  +  mytopic  out  linkBalanced  active
  +  ...
  +----
  +
  +====== Adding Producers and Consumers
  +
  +When a producer and consumer are connected the following resources are observed on the router:
  +
  +* A *connection* is created to each consumer/producer.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -c
  +Connections
  +  id   host                 container                             role             dir  security                              authentication                 tenant
  +  ===================================================================================================================================================================
  +  4803  172.17.0.1:50266     06254dd3-0093-5c47-a712-5d7c7a6bdc5c  normal           in   TLSv1.2(ECDHE-RSA-AES128-GCM-SHA256)  PLAIN                          
  +  4805  172.17.0.1:50290     314d27d9-2134-734b-a862-150681b37cfc  normal           in   TLSv1.2(ECDHE-RSA-AES128-GCM-SHA256)  PLAIN     
  +  ...
  +----
  +
  +* A number of *links* to the topic: two links from the router to the topic and a new link from each producer/consumer to the address are created.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -l
  +Router Links
  +
  +  endpoint  in   4664     2081        mobile  mytopic               1    250  0      0       15    0        0       15    0    250  0    enabled  up
  +  endpoint  out  4664     2082        mobile  mytopic               0    250  0      0       15    0        0       15    0    0    0    enabled  up
  +  endpoint  in   4882     2241        mobile  mytopic               0    250  0      0       5     0        0       5     0    0    0    enabled  up
  +  endpoint  out  4884     2242        mobile  mytopic               1    250  0      0       5     0        0       5     0    0    0    enabled  up
  +  ....
  +----
  +
  +===== Sharded Queue
  +
  +A sharded queue creates a pod for each broker:
  +
  +[source=bash,options="nowrap"]
  +----
  +$ oc get pods
  +
  +myqueue-9445df63-942e-3f0d-80e3-2f6b1c24d5de-0   1/1       Running   1          32m
  +...
  +----
  +
  +====== Broker View
  +
  +A sharded queue creates both an *address* and a *queue* on the broker:
   [source=bash,options="nowrap"]
   ----
   $ ./artemis address show --url tcp://<messaging-address>:<port>
   
  -activemq.management.5d980c77-4875-4a50-ba32-d113ca6bd3ba
  -activemq.notifications
  -f2691084-1b1d-432d-9a58-0861e9047bc9
   myqueue
  +...
   
   $ ./artemis queue stat --url tcp://<messaging-address>:<port>
   
   |NAME                     |ADDRESS                  |CONSUMER_COUNT |MESSAGE_COUNT |MESSAGES_ADDED |DELIVERING_COUNT |MESSAGES_ACKED |
  -|myqueue                  |myqueue                  |0              |0             |0              |0                |0              |
  -----
  -
  -The _routingType_ of the address is ANYCAST:
  +|myqueue                  |myqueue                  |1              |0             |0              |0                |0              |
  +
  +----
  +
  +The `routingType` of the address is `ANYCAST`:
   [source=bash,options="nowrap"]
   ----
   ./artemis address show --url tcp://<messaging-address>:<port> --name myqueue
  
positive.code: NAME                     READY     STATUS    RESTARTS   AGE
  agent-84975f97-q69qn     1/1       Running   0          10s
  broker-d4f468475-56x45   0/1       Running   0          10s
  ----
  
  
  
negative.code: = Resources
  :toc:
  :toclevels: 5
  :sectnums:
  :sectnumlevels: 5
  
  == Address Spaces
  
  