Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16247

Dump of Artemis cluster topology is hard to read

    XMLWordPrintable

Details

    • Bug
    • Status: Pull Request Sent (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 26.1.0.Beta1
    • None
    • JMS
    • None

    Description

      You can dump Artemis cluster topology information via CLI. However the format of result is hard to read and should be formatted more nicely.

      In attachment you can find configuration of colocated HA topology for easier reproducing of issue.

      [standalone@127.0.0.1:10990 /] /subsystem=messaging-activemq/server=default/cluster-connection=my-cluster:read-resource(recursive=true, include-runtime=true)
      {
          "outcome" => "success",
          "result" => {
              "allow-direct-connections-only" => false,
              "call-failover-timeout" => -1L,
              "call-timeout" => 30000L,
              "check-period" => 30000L,
              "cluster-connection-address" => "jms",
              "confirmation-window-size" => 1048576,
              "connection-ttl" => 60000L,
              "connector-name" => "netty",
              "discovery-group" => "dg-group1",
              "initial-connect-attempts" => -1,
              "max-hops" => 1,
              "max-retry-interval" => 2000L,
              "message-load-balancing-type" => "ON_DEMAND",
              "min-large-message-size" => 102400,
              "node-id" => "6b5849d5-a1a6-11e6-b602-3ca9f4349bfc",
              "notification-attempts" => 2,
              "notification-interval" => 1000L,
              "reconnect-attempts" => -1,
              "retry-interval" => 1000L,
              "retry-interval-multiplier" => 1.0,
              "started" => true,
              "static-connectors" => undefined,
              "topology" => "topology on Topology@2ed1f17d[owner=ClusterConnectionImpl@1272003015[nodeUUID=6b5849d5-a1a6-11e6-b602-3ca9f4349bfc, connector=TransportConfiguration(name=netty, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=6445&useNio=true&host=localhost&useNioGlobalWorkerPool=true, address=jms, server=ActiveMQServerImpl::serverUUID=6b5849d5-a1a6-11e6-b602-3ca9f4349bfc]]:
      	6b5849d5-a1a6-11e6-b602-3ca9f4349bfc => TopologyMember[id = 6b5849d5-a1a6-11e6-b602-3ca9f4349bfc, connector=Pair[a=TransportConfiguration(name=netty, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=6445&useNio=true&host=localhost&useNioGlobalWorkerPool=true, b=TransportConfiguration(name=netty-backup, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=7446&host=localhost], backupGroupName=group2, scaleDownGroupName=null]
      	46aa5649-a1a6-11e6-87fd-3c970e9648c8 => TopologyMember[id = 46aa5649-a1a6-11e6-87fd-3c970e9648c8, connector=Pair[a=TransportConfiguration(name=netty, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=7445&useNio=true&host=localhost&useNioGlobalWorkerPool=true, b=TransportConfiguration(name=netty-backup, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=6446&host=localhost], backupGroupName=group1, scaleDownGroupName=null]
      	nodes=4	members=2",
              "use-duplicate-detection" => true
          }
      }
      

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              ehugonne1@redhat.com Emmanuel Hugonnet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: