[ 
https://issues.apache.org/jira/browse/ARTEMIS-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839877#comment-17839877
 ] 

Erwin Dondorp commented on ARTEMIS-4182:
----------------------------------------

> I was asking for a screenshot of where, "the field 'Client ID' is filled in 
> with the remote hostname when using broker-connection/amqp-connection."

I was wrong and I cannot reproduce that.
The broker-connection/amqp-connection always uses the remote node-id as the 
client-id.
Here is a screenshot for such connection:
!screenshot-2.png!

> I think the best we could do would be to use the node ID which is 
> automatically generated when the broker is created and uniquely identifies 
> the broker from all others

The node-ID is an internal value that requires some lookup to be done to find 
the more well-known name.
But, agreed, it is consistent with the way broker-connection/amqp-connection 
works and already a nice improvement.

> or use the {{name}} of the node set in {{broker.xml}}

that would be even more useful.

> fill client-id for cluster connections
> --------------------------------------
>
>                 Key: ARTEMIS-4182
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4182
>             Project: ActiveMQ Artemis
>          Issue Type: Wish
>          Components: Broker
>    Affects Versions: 2.28.0
>            Reporter: Erwin Dondorp
>            Priority: Major
>         Attachments: image-2023-02-25-13-27-08-542.png, screenshot-2.png
>
>
> when running Artemis in a cluster, the brokers have connections between them.
> these are easily identifiable in the list of connections because the "Users" 
> field is filled in with the username that was specified in setting 
> `cluster-user`.
> but it is unclear where each connection goes to.
> !image-2023-02-25-13-27-08-542.png!
>  
> additional information:
> the field "Client ID" is filled in with the remote hostname when using 
> broker-connection/amqp-connection.
> wish:
> (also) fill in field ClientID of the cluster connections.
> e.g. with the broker-name or from a new parameter `cluster-clientid`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to