Re: Alerting on Duplicate Client IDs, Disconnects, Dropped Messages

2024-03-28 Thread William Crowell
Riccardo, Thank you! From: Modanese, Riccardo Sent: Thursday, March 28, 2024 12:11:05 PM To: users@activemq.apache.org Subject: Re: Alerting on Duplicate Client IDs, Disconnects, Dropped Messages [You don't often get email from riccardo.modan...@eurotech.com.inv

Re: Alerting on Duplicate Client IDs, Disconnects, Dropped Messages

2024-03-28 Thread Modanese, Riccardo
Hi, could be a little bit OT but, for our use case, we implemented a custom SecurityPlugin (and a custom ServerPlugin also) to detect and manage stealing link on MQTT connector. If you want to take a look the code is here: https://github.com/eclipse/kapua/blob/develop/broker/artemis/plugin/src/

Re: Alerting on Duplicate Client IDs, Disconnects, Dropped Messages

2024-03-28 Thread Justin Bertram
You can turn on DEBUG logging for org.apache.activemq.artemis.core.protocol.mqtt.MQTTProtocolHandler to see info about MQTT sessions being closed when a new session is created with the same client ID. The logging will look something like this: Existing MQTT session from 192.168.10.1 closed due t

Re: ActiveMQ Classic to IBM MQ Bridge Throughput

2024-03-28 Thread Anton Roskvist
Hi Jason, There are quite a few variables to consider for this, but from the top of my head I'd suggest you look into increasing the "cache-level" and "concurrentConsumers" properties of camel-jms and possibly provide pooling or caching of your connections using something like Springs "Caching

Re: Alerting on Duplicate Client IDs, Disconnects, Dropped Messages

2024-03-28 Thread William Crowell
Justin, Yes, MQTT. I am talking about disorderly disconnects like client crash, network problem, etc. Regarding messages dropping…I am not exactly sure what they meant by that. Maybe related to disorderly disconnects. Regards, Bill Crowell | Enterprise Architect, OpenLogic

Re: Alerting on Duplicate Client IDs, Disconnects, Dropped Messages

2024-03-28 Thread Justin Bertram
1) What protocol are you using for takeover with duplicate client IDs? MQTT? 2) Are you talking about orderly disconnects (e.g. a client calling close() on its connection) or disconnects caused by a client crash, network problem, etc.? 3) What do you mean by "dropped message" exactly? Justin O

Alerting on Duplicate Client IDs, Disconnects, Dropped Messages

2024-03-28 Thread William Crowell
Good morning, A few questions related to monitoring and alerts in Artemis: 1) Is there a way to identify duplicate client ids and when the broker performs a disconnect based on client takeover? 2) Can Artemis detect disconnects from clients? Is there a listener that is available, or I can cre