[
https://issues.apache.org/jira/browse/ARTEMIS-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839845#comment-17839845
]
Justin Bertram edited comment on ARTEMIS-4182 at 4/22/24 8:44 PM:
------------------------------------------------------------------
bq. The screenshot is already in the description. The image shows that
cluster-connections do not fill the column ClientID
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."
Regarding your use-case...
I don't think that using the hostname of the machine will be a robust solution
because a single host may have many different brokers running simultaneously. 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 *or* use the {{name}} of the node set in {{broker.xml}} if that is
set instead. Would that work?
was (Author: jbertram):
bq. The screenshot is already in the description. The image shows that
cluster-connections do not fill the column ClientID
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."
Regarding your use-case...
I don't think that using the hostname of the machine will be a robust solution
because a single host may have many different brokers running simultaneously. I
think the best we could do would be to use the node ID which is automatically
generated when the broker is created an unique identifies the broker from all
others *or* use the {{name}} of the node set in {{broker.xml}} if that is set
instead. Would that work?
> 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
>
>
> 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)