Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-5911

[doc] connections are not distributed across broker pods when going through the amqp route

    XMLWordPrintable

Details

    Description

      We have configured a service as advised in this KB[1]
       
      The service is installed as expected and the two broker pods'ip are in the Endpoint.
      We have  created multiple connections using the amqp route from a client located outside OpenShift.
      We expect connections to be distributed among the different broker nodes.
      W have 2 broker pods.

      Here is my client code (snipped):

              List<Connection> list = new ArrayList<>();
              for (int i = 0; i < 20; i++)

      {             list.add(connectionFactory.createConnection(user, password));         }

              Thread.sleep(30000);
              for (Connection connection : list)

      {             connection.close();         }

      so, when we create 20 connections, I expect 10 on each broker node.
      What we see is that all connections get created on the same node while using amqp.
      [1]=https://access.redhat.com/solutions/5246761
       
      The following case has been created regarding this issue that seems like a bug with amqp
      https://access.redhat.com/support/cases/#/case/03086845

      Attachments

        Issue Links

          Activity

            People

              jcliffor@redhat.com John Clifford
              rh-gs-msakho Meissa Mbaye SAKHO
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: