-
Hi all, we need to identify broker instances. The broker has in its core a notion of its own identity, configurable in etc/broker.xml#/configuration/core/name. Being configurable it allows to establish customized, to be meaningful, naming schemes. Now, I'm trying to understand if for the operator-controlled broker instances we could achieve customized naming scheme. Reading https://artemiscloud.io/docs/help/operator/:
Kicking off with a concrete guess, the broker instance name could be as if etc/broker.xml#/configuration/core/name element contained the Pod name (may be equals hostname too). So for the from-the-help example, the first broker instance would be named ex-aao-ss-0 and the second broker instance would be named ex-aao-ss-1, and so on. In other words
Would it make sense, please? Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This proposal makes sense to me, maybe we should add a new spec property in the ActiveMQArtemis CRD to avoid backward compatibility issues. Feel free to create a new feature issue at https://github.com/artemiscloud/activemq-artemis-operator/issues |
Beta Was this translation helpful? Give feedback.
-
Of note is that name attribute is used as the root of the JMX tree and the operator assumes that to be amq-broker, it is hard coded at the moment in the jolokia client used in the operator. |
Beta Was this translation helpful? Give feedback.
This proposal makes sense to me, maybe we should add a new spec property in the ActiveMQArtemis CRD to avoid backward compatibility issues. Feel free to create a new feature issue at https://github.com/artemiscloud/activemq-artemis-operator/issues