ActiveMQ Artemis cluster does not redistribute messages after one instance crash

2021-05-27 Thread Thai Le
I have a cluster of Artemis in Kubernetes with 3 group of master/slave: ``` activemq-artemis-master-0 1/1 Running activemq-artemis-master-1 1/1 Running activemq-artemis-master-2 1/1 Running activem

Artemis redistribution does not work

2021-06-01 Thread Thai Le
I am missing? Regards Thai Le

Re: Artemis redistribution does not work

2021-06-01 Thread Thai Le
and 3 slaves. Now I don't have the slaves. I hope it's clearer Thai Le On Tue, Jun 1, 2021, 21:52 Justin Bertram wrote: > Isn't this essentially the same question you asked on Stack Overflow [1]? > If so, why are you asking it again here when you have marked the answer

Re: Artemis redistribution does not work

2021-06-01 Thread Thai Le
that it was cleaning up a session. > > Also, are you using a JMS queue or topic? > > > Justin > > On Tue, Jun 1, 2021 at 9:13 PM Thai Le wrote: > > > Hi Justin, > > > > It is not the same question. The question posted on stackiverflow is > about >

Re: Artemis redistribution does not work

2021-06-01 Thread Thai Le
the broker closed it. You would see > logging on the broker indicating that it was cleaning up a session. > > Also, are you using a JMS queue or topic? > > > Justin > > On Tue, Jun 1, 2021 at 9:13 PM Thai Le wrote: > > > Hi Justin, > > > > It is not the

Re: Artemis redistribution does not work

2021-06-02 Thread Thai Le
activemq-artemis-master-0 activemq-artemis-master-1 ... and try to kill the consumer during consumption but i don't see any log about cleaning up sessions after 30 min. Thai On Tue, Jun 1, 2021 at 10:53 PM Thai Le wrote: > I did wait

Re: Artemis redistribution does not work

2021-06-02 Thread Thai Le
Hi Justtin, I have a simple project that can be used to reproduce the redistribution issue at https://github.com/lnthai2002/SimpleArtemisClient. Hope you have sometime to take a look, Thai On Wed, Jun 2, 2021 at 1:07 PM Thai Le wrote: > Hi Justtin, > > I am still working on the JMS

Re: Artemis redistribution does not work

2021-06-03 Thread Thai Le
nd run clients > against them in an automated way. It's pretty straight-forward and may be > beneficial for you. Those are found in the "examples" directory in the > broker distribution. > > > Justin > > On Wed, Jun 2, 2021 at 8:55 PM Thai Le wrote: > >

Artemis cloud: cannot access web console

2021-08-17 Thread Thai Le
port 8161 from my desktop to one of the 2 artemis pods but it does not work either. I would appreciate it if anyone could give me a hint as to what may be wrong or a direction to artemis cloud mailing list Thai Le

Re: Artemis cloud: cannot access web console

2021-08-18 Thread Thai Le
6 socat[1907] E connect(17, AF=2 127.0.0.1:8161, 16): Connection refused Do you have any other suggestion? Thai Le On Wed, Aug 18, 2021 at 2:10 PM Justin Bertram wrote: > If the embedded web server which serves the console (as configured in > bootstrap.xml) is bound to localhost then it will neve

Re: Artemis cloud: cannot access web console

2021-08-20 Thread Thai Le
access to the console of each broker at the same time for troubleshooting, my original thought is just port-forward to each pod when needed. Forgive me for my limited knowledge of kubernetes, but as I understand, ingress is to load balance http traffic so at one point in time, the console of a par

Re: Artemis cloud: cannot access web console

2021-08-23 Thread Thai Le
emis/2.18.0/_modules/bootstrap_xml/* of the init image quay.io/artemiscloud/activemq-artemis-broker-init:0.2.6. I gonna look into ingress next Thai Le On Mon, Aug 23, 2021 at 12:59 AM Tim Bain wrote: > Thanks for determining that port-forwarding directly to the pods doesn't > work either.

one Artemis operator for multiple kube namespaces

2021-08-24 Thread Thai Le
binding for each namespace. Since the CRD (artemis, artemisaddress, artemisscaledown, artemissecurity) are installed at global level (not to any namespace) why can't I have a single operator for all namespaces ? Also, is there a prebuilt helm chart for installing the operator? Regards Th

Re: one Artemis operator for multiple kube namespaces

2021-08-25 Thread Thai Le
n the github of artemiscloud. Thai Le On Wed, Aug 25, 2021 at 12:31 AM Tim Bain wrote: > Same as I said in the email I just wrote, the lack of a response to any of > these Kubernetes questions from anyone but me has me convinced that the > authors of Artemis Cloud aren't on t

Re: Artemis cloud: cannot access web console

2021-08-25 Thread Thai Le
useful for other working on POC and need a quick way to check the broker. Thai Le On Wed, Aug 25, 2021 at 12:10 AM Tim Bain wrote: > Thai, > > The fact that kubectl port-forward doesn't work with even a NodePort > service (which has a TCP socket open on every node, so the easy w

connectionTTL causes connection error when consumer takes too long to process message

2021-08-25 Thread Thai Le
notify the broker that the consumer has disconnected is not right. Is there another config that I need to use? Regards Thai Le

How to change context of web console

2021-09-10 Thread Thai Le
ot;,"Scripts":["plugin\/js\/brandingPlugin.js"],"Domain":null,"Name":"activemq-branding"}} I think there is some script that reads this json and issues the resource requests but it does not seem to take into account the context i put in the bootstrap.xml. Is it a bug or there is a way to force the console app to load resource from the context specified in the bootstrap.xml ? Regards Thai Le -- Where there is will, there is a way

Re: How to change context of web console

2021-09-15 Thread Thai Le
: lnthai2...@gmail.com, lnthai2002 Thank you in advance Thai Le On Mon, Sep 13, 2021 at 11:59 AM Domenico Francesco Bruscino < bruscin...@gmail.com> wrote: > Hi Thai, > > it looks like a bug to me, can you raise a JIRA ( > https://issues.apache.org/jira/projects/ARTEMIS)? > >

Re: How to change context of web console

2021-09-16 Thread Thai Le
Thank you Thai Le On Thu, Sep 16, 2021, 03:10 Domenico Francesco Bruscino < bruscin...@gmail.com> wrote: > Hi Thai, > > I have created ARTEMIS-3485[1] with your description of the issue. > Send an email to us...@infra.apache.org to get help for your account. > > [1] h

Unable to validate user from Management. Username: null; SSL certificate subject DN: unavailable

2021-10-20 Thread Thai Le
shed some light on this. Regards Thai Le

Re: Unable to validate user from Management. Username: null; SSL certificate subject DN: unavailable

2021-10-20 Thread Thai Le
Thank you Garry, it works after i set the password in preference Thai le On Wed, Oct 20, 2021 at 12:37 PM Gary Tully wrote: > I think it may be that the user/pass used for the send comes from the > preferences panel in hawtio and it seems it is null in this case. > from the readme -

Keycloak confidential access type for Artemis admin console

2021-10-25 Thread Thai Le
a bit of context, I am only interested in securing the artemis web console with KC, not the broker (activemq realm) thus i am not configuring the keycloak-direct-access.json. I want to be sure that the web console does not call an endpoint on the broker to get the refresh token. Regards Thai Le

Re: Keycloak confidential access type for Artemis admin console

2021-10-26 Thread Thai Le
Thank you for confirming. Thai Le On Tue, Oct 26, 2021 at 9:57 AM Gary Tully wrote: > yes. see the detail at: https://github.com/hawtio/hawtio-oauth > it utilises the keycloak javascript client - > https://www.keycloak.org/docs/latest/securing_apps/#_javascript_adapter > > On M

Artemis high availability in Kubernetes

2022-02-09 Thread Thai Le
hold? Regards Thai Le

Re: Artemis high availability in Kubernetes

2022-02-11 Thread Thai Le
cluster of multiple brokers in a single pod or each broker on one pod? Regards Thai Le

how to make artemis webconsole generates https url without https binding

2022-06-10 Thread Thai Le
if there is a way to force all urls generated by the webconsole to be in *https* instead of *http* without config https binding. Regards Thai Le

Re: how to make artemis webconsole generates https url without https binding

2022-06-10 Thread Thai Le
i end up having a blank page when i got the 403. One thing i notice is that the content-security-policy seem to have duplicated directives like default-src, script-src. I am not sure that cause the 403 but chrome said it ignores the duplicates: Ignoring duplicate Content-Security-Policy direc

AMQ142007: Can not find record 0 during compact replay

2022-08-08 Thread Thai Le
effects (potential lost of messages). Has anyone experienced this problem or has some info regarding this error/warning? Thai Le

How to get list of queues in topic address

2022-10-25 Thread Thai Le
dTopicAddress) > , "?"); session.start(); ClientMessage reply = > requestor.request(message); requestor.close(); return > extractQueueNames(reply); > > Hope to get some hint Thai Le

Re: How to get list of queues in topic address

2022-10-26 Thread Thai Le
ache.org/components/artemis/documentation/javadocs/javadoc-latest/org/apache/activemq/artemis/api/core/management/AddressControl.html#getQueueNames() > > On Tue, Oct 25, 2022 at 3:26 PM Thai Le wrote: > > > Hello, > > I am using ActiveMQClient to talk to the artemis broker. I am tryi

mailing list/slack for artemis operator

2023-01-02 Thread Thai Le
Hello, Is there a mailing list or slack channel for artemis-operator? Can I have the link/invite? Thai Le

Artemis REST API

2023-03-09 Thread Thai Le
Hello, Does the REST API still exist in the latest version? I do not see it in the doc of 2.28. Regards Thai Le

Re: Artemis REST API

2023-03-11 Thread Thai Le
Thank you for the detail explanation. I was looking for a quick way to get info about queues (number of messages avail, peak some messages...) for debugging purpose. I guess I just need to make an stand alone app and use Java client to get those info. Thai Le On Fri, Mar 10, 2023, 12:57 Justin

Re: Artemis REST API

2023-03-11 Thread Thai Le
I was actually looking for the management API, thanks for pointing out the differences. I'll look into jolokia endpoint. Thai Le On Sat, Mar 11, 2023, 10:28 Justin Bertram wrote: > When you say "REST API" do you mean the REST *messaging* API or the > REST-like *manageme

Artemis operator: broker credential

2023-03-16 Thread Thai Le
); } } } } Is there an option that i have to put in the chart to force credential check? Regards Thai Le

Re: Artemis operator: broker credential

2023-03-16 Thread Thai Le
Thank you Domenico, I'll ask on the github when I have more questions Thai Le On Thu, 16 Mar 2023 at 17:14, Domenico Francesco Bruscino < bruscin...@gmail.com> wrote: > Hi Thai, > > this is more a question for ArtemisCloud.io[1] than the Apache ActiveMQ > Artemis

artemis operator: MQ222141: Node Manager can not open file /opt/activemq-artemis-broker/data/journal/server.lock

2023-03-20 Thread Thai Le
ectly or i am missing a config in my deploymentPlan. Hope to get some hint on this. Thai Le -- Where there is will, there is a way

Re: artemis operator: MQ222141: Node Manager can not open file /opt/activemq-artemis-broker/data/journal/server.lock

2023-03-20 Thread Thai Le
Thank you for your suggestion, Inside the broker container i saw /opt/activemq-artemis-broker/data so the journal folder was not created. My colleague suggested setting podSecurityContext: fsGroup: 0 and it seem to work, i suppose it is due to the volume security Regards Thai Le

Re: Artemis REST API

2023-03-22 Thread Thai Le
Hi again, The example of the curl command to jolokia endpoint is fetching the Version attribute of the org.apache.activemq.artemis:broker mbean, is there other mbean like address, queue, message that i can query? On Sat, 11 Mar 2023 at 11:28, Thai Le wrote: > I was actually looking for

Re: Artemis REST API

2023-03-23 Thread Thai Le
mis:broker=\"0.0.0.0\"/Address/A/Queue/Q/MessageCount but it did not work. Also, is it possible to browse messages as web console does? Thai Le On Thu, 23 Mar 2023 at 00:47, Domenico Francesco Bruscino < bruscin...@gmail.com> wrote: > the partial list of the Management API MBe

how to get the resourceName of a queue ?

2023-03-24 Thread Thai Le
ation(session.createMessage(true), *resourceName*, "moveMessages", filter, anotherQueue) Thank you in advance Thai Le

Topic config to auto delete queue when there is no consumer on the subscriber queue

2023-03-25 Thread Thai Le
tisfy both 1 and 2? Regards Thai Le

Re: Topic config to auto delete queue when there is no consumer on the subscriber queue

2023-03-29 Thread Thai Le
multicast). Would this internal address affected by my configuration for ? If it is, is there a negative address matching to say: apply these settings for all addresses except those started with $.artemis.internal.# ? Regards Thai Le On Sat, 25 Mar 2023 at 18:28, Justin Bertram wrote

Re: Topic config to auto delete queue when there is no consumer on the subscriber queue

2023-03-29 Thread Thai Le
ExpiryQueue 6 0 -1 10 PAGE true true true true false false 0 1 true 0 -1 false true Thanks Thai Le On Wed, 29 Mar 2023 at 12:31, Justin Bertram wrote: > Any address-setting specified with match="#" will apply to

auto-delete-queues-delay vs address-queue-scan-period

2023-04-12 Thread Thai Le
leted? Regards Thai Le -- Where there is will, there is a way

offlineDurableSubscriberTimeout in artemis

2023-04-18 Thread Thai Le
Hello, I would like to auto unsubscribe a durable subscription from a multicast address when the consumer(subscriber) is offline for more than 5 min. I see in activemq classic there is a offlineDurableSubscriberTimeout config that do just what i need. However it is not available in artemis. Is ther

Re: offlineDurableSubscriberTimeout in artemis

2023-04-18 Thread Thai Le
auto delete durable subscriber but i dont see any different . Regards Thai Le On Tue, 18 Apr 2023 at 12:32, Justin Bertram wrote: > You should be able to remove the subscription queue with the right > combination of address-settings. I've got a few questions to clarify the >

Re: offlineDurableSubscriberTimeout in artemis

2023-04-18 Thread Thai Le
ation like QUEUE.service1.processing which cause the address be created with the . (QUEUE.service1.processing) but the queues created with \\. (QUEUE\\.service1\\.processing). Other than ".", are there other special chars that should not be used in queue name? Regards Thai Le On Tue, 18 Apr 2

artemis operator: how to tell broker to use a specific PVC

2023-04-26 Thread Thai Le
storage: size: {{ .Values.persistence.size }} storageClassName: {{ .Values.persistence.storageClass }} resources: requests: cpu: {{ .Values.resources.requests.cpu }} memory: {{ .Values.resources.requests.memory }} Thai Le

Slack invitation

2023-05-05 Thread Thai Le
Hello, can I have invitation to slack ? Thank you in advance. Thai Le

custom metrics

2024-12-20 Thread Thai Le
Thai Le

Re: AMQ229028: Consumer 0 doesn't exist on the server

2025-04-11 Thread Thai Le
to the consumer again in the new session? > > Yes. > > > Attached is the full log > > Looks like the attached log didn't make it through the list filters. Maybe > try pasting it somewhere (e.g. here [1]) and providing a link. > > > Justin > > [1] https://g

Re: AMQ229028: Consumer 0 doesn't exist on the server

2025-04-11 Thread Thai Le
After a quick chat with Justin Bertram, it came down to the frequency of the consumer alive check being too short. I'll play around with the settings to see if the error happen again Regards Thai Le On Fri, 11 Apr 2025 at 09:33, Thai Le wrote: > Here is the gist Artemis 2.32.2 error

AMQ229028: Consumer 0 doesn't exist on the server

2025-04-10 Thread Thai Le
s the full log Regards Thai Le -- Where there is will, there is a way - To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org For additional commands, e-mail: users-h...@activemq.apache.org For further information, visit:

Queues without consumer and messages are not cleaning up

2025-03-11 Thread Thai Le
still have a lot of queues with addresses matching the settings above without any messages and consumers in the broker for much more than 5 min. Although there is no consumer connected to those queues, every 90 sec there is a request to management API (ManagementHelper.putOperationInvocation(message, queueName, "countMessages", "");) to get the message count of those queues. Could this be the reason for those queues/addresses not being deleted? Thank you Thai Le