anchor.diff:  
   Broker is not initially created until an address space is created.
   
  -== Addresses
  -
  -=== Brokered Queue
  +==== Initial Router Resources
  +Below is the initial router configuration when a standard address space without MQTT is created, before creating any addresses.
  +
  +===== Connections
  +Three connections are created by default on the router:
  +
  + * A connection to the console (`admin`)
  + * A connection to the router agent (`ragent`)
  + * A connection to the container running `qdstat`
  +
  +[source=bash,options="nowrap"]
  +----
  +$ dstat -c
  +Connections
  +  id   host                 container                             role    dir  security                              authentication                tenant
  +  =========================================================================================================================================================
  +  3    172.17.0.9:34998     admin-78794c68c8-9jdd6                normal  in   TLSv1.2(ECDHE-RSA-AES128-GCM-SHA256)  CN=admin,O=io.enmasse(x.509)  
  +  12   172.30.188.174:5671  27803a14-42d2-6148-9491-a6c1e69e875a  normal  out  TLSv1.2(ECDHE-RSA-AES128-GCM-SHA256)  x.509                         
  +  567  127.0.0.1:43546      b240c652-82df-48dd-b54e-3b8bbaef16c6  normal  in   no-security                           PLAIN   
  +----
  +
  +===== Router Addresses
  +A number of addresses are created by default:
  +
  +* A management address used by the router (`$management`)
  +* Inter-router addresses for managing router topology (`qdhello`, `qdrouter`, `qdrouter.ma`)
  +* Addresses for handling MQTT Last will and testament (`$lwt`)
  +* Temporary addresses in use by `qdstat`
  +
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -a
  +
  +Router Addresses
  +  class     addr                   phs  distrib       in-proc  local  remote  cntnr  in     out    thru  to-proc  from-proc
  +  ===========================================================================================================================
  +  local     $_management_internal       closest       1        0      0       0      0      0      0     588      588
  +  link-in   $lwt                        linkBalanced  0        0      0       0      0      0      0     0        0
  +  link-out  $lwt                        linkBalanced  0        0      0       0      0      0      0     0        0
  +  mobile    $management            0    closest       1        0      0       0      601    0      0     601      0
  +  local     $management                 closest       1        0      0       0      2,925  0      0     2,925    0
  +  local     qdhello                     flood         1        0      0       0      0      0      0     0        5,856
  +  local     qdrouter                    flood         1        0      0       0      0      0      0     0        0
  +  topo      qdrouter                    flood         1        0      0       0      0      0      0     0        196
  +  local     qdrouter.ma                 multicast     1        0      0       0      0      0      0     0        0
  +  topo      qdrouter.ma                 multicast     1        0      0       0      0      0      0     0        0
  +  local     temp.VTXOKyyWsq7OEei        balanced      0        1      0       0      0      0      0     0        0
  +  local     temp.k2RGQNPe6sDMvz4        balanced      0        1      0       0      0      3,511  0     0        3,511
  +  local     temp.xg+y8I_Tr4Y94LA        balanced      0        1      0       0      0      5      0     0        5
  +
  +----
  +
  +===== Links
  +A number of router links are created by default:
  +
  +* A link to the _management_ address
  +* Links to the temporary addresses in use by _qdstat_
  +* Links to the AMQP anonymous queue
  +
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -l
  +Router Links
  +  type      dir  conn id  id  peer  class   addr                  phs  cap  undel  unsett  del   presett  psdrop  acc   rej  rel  mod  admin    oper
  +  ====================================================================================================================================================
  +  endpoint  in   3        8                                            250  0      0       3829  0        0       3829  0    0    0    enabled  up
  +  endpoint  out  3        9         local   temp.k2RGQNPe6sDMvz4       250  0      0       3829  3829     0       0     0    0    0    enabled  up
  +  endpoint  in   12       10                                           250  0      0       5     0        0       5     0    0    0    enabled  up
  +  endpoint  out  12       11        local   temp.xg+y8I_Tr4Y94LA       250  0      0       5     5        0       0     0    0    0    enabled  up
  +  endpoint  in   645      26        mobile  $management           0    50   0      0       1     0        0       1     0    0    0    enabled  up
  +  endpoint  out  645      27        local   temp.0BrHJ1O+fi6whyg       50   0      0       0     0        0       0     0    0    0    enabled  up
  +
  +----
  +
  +===== Link Routes
  +Two link routes are created by default to manage last will and testament:
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat --linkroutes
  +
  +Link Routes
  +  address  dir  distrib       status
  +  ======================================
  +  $lwt     in   linkBalanced  inactive
  +  $lwt     out  linkBalanced  inactive
  +----
  +
  +==== Addresses
  +
  +===== Pooled Queue
  +
  +====== Broker view 
   
   Creates both an address and a queue on Artemis:
   [source=bash,options="nowrap"]
  
positive.code: Address [name=myqueue, routingTypes={ANYCAST}, autoCreated=true]
  ----
  
  === Brokered Topic
  
  Creates an address on the broker:
  [source=bash,options="nowrap"]
  
negative.code: Address [name=myqueue, routingTypes={ANYCAST}, autoCreated=true]
  ----
  
  ====== Router View
  
  A sharded queue 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
    ===================================================================================================================================================================
    1525  172.17.0.12:40358    myqueue                               route-container  in   TLSv1.2(ECDHE-RSA-AES256-SHA384)      CN=broker,O=io.enmasse(x.509)  
    ...
  ----
  
  * Two *addresses* of type `mobile` are created for routing messages from the producer to the outgoing autolink (Phase 0) and for routing messages from the incoming autolink to subscribers (Phase 1).
  +
  [source=bash,options="nowrap"]
  ----
  $ qdstat -a
  Router Addresses
    class     addr                   phs  distrib       in-proc  local  remote  cntnr  in     out    thru  to-proc  from-proc
    ===========================================================================================================================
    mobile    myqueue                1    balanced      0        0      0       0      0      0      0     0        0
    mobile    myqueue                0    balanced      0        1      0       0      0      0      0     0        0
    ...
  ----
  
  * Two AMQP *links* are created: one incoming link and one outgoing link to the broker.
  +
  [source=bash,options="nowrap"]
  ----
  $ qdstat -l
  Router Links
    type      dir  conn id  id   peer  class   addr                  phs  cap  undel  unsett  del   presett  psdrop  acc   rej  rel  mod  admin    oper
    =====================================================================================================================================================
    endpoint  in   1525     1576        mobile  myqueue               1    250  0      0       0     0        0       0     0    0    0    enabled  up
    endpoint  out  1525     1577        mobile  myqueue               0    250  0      0       0     0        0       0     0    0    0    enabled  up
    ...
  ----
  
  * Two *autolinks* are created: One to manage each of the above links.
  +
  [source=bash,options="nowrap"]
  ----
  $ qdstat --autolinks
  AutoLinks
    addr     dir  phs  extAddr  link  status  lastErr
    ===================================================
    myqueue  in   1             1576  active  
    myqueue  out  0             1577  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     
    ...
  ----
  
  * In addition to the two existing *links* to the queue, a new link from each producer/consumer to the address is created.
  +
  [source=bash,options="nowrap"]
  ----
  $ qdstat -l
  Router Links
  
    endpoint  in   4664     2081        mobile  myqueue               1    250  0      0       15    0        0       15    0    250  0    enabled  up
    endpoint  out  4664     2082        mobile  myqueue               0    250  0      0       15    0        0       15    0    0    0    enabled  up
    endpoint  in   4882     2241        mobile  myqueue               0    250  0      0       5     0        0       5     0    0    0    enabled  up
    endpoint  out  4884     2242        mobile  myqueue               1    250  0      0       5     0        0       5     0    0    0    enabled  up
    ....
  ----
  
  ===== Sharded Topic
  A sharded topic 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 topic creates an address on the broker:
  [source=bash,options="nowrap"]
  ----
  $ ./artemis address show --url tcp://<messaging-address>:<port>
  