You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "jbertram (via GitHub)" <gi...@apache.org> on 2023/10/12 21:08:35 UTC
[PR] ARTEMIS-4459 log when rejecting dupe MQTT QoS2 pub [activemq-artemis]
jbertram opened a new pull request, #4648:
URL: https://github.com/apache/activemq-artemis/pull/4648
In accordance with the QoS2 protocol outlined in the MQTT specification(s), once the broker receives a PUBLISH then any other PUBLISH it receives on that same session with the same packet ID must be ignored until the QoS2 protocol for that ID is completed.
The broker does this, but it doesn't log anything so it's not clear when this is actually happening.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ARTEMIS-4459 log when rejecting dupe MQTT QoS2 pub [activemq-artemis]
Posted by "clebertsuconic (via GitHub)" <gi...@apache.org>.
clebertsuconic merged PR #4648:
URL: https://github.com/apache/activemq-artemis/pull/4648
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ARTEMIS-4459 log when rejecting dupe MQTT QoS2 pub [activemq-artemis]
Posted by "clebertsuconic (via GitHub)" <gi...@apache.org>.
clebertsuconic commented on PR #4648:
URL: https://github.com/apache/activemq-artemis/pull/4648#issuecomment-1761526201
I think you should log this on the AUDIT_LOG as well.
Users interested in this particular of information will be looking through the AUDIT.
notice you have to log the message that had the previous ID before, and the one that's being ignored.
The particular user that hit this issue was only looking through AUDIT. and it would be very helpful if that information was there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ARTEMIS-4459 log when rejecting dupe MQTT QoS2 pub [activemq-artemis]
Posted by "jbertram (via GitHub)" <gi...@apache.org>.
jbertram commented on PR #4648:
URL: https://github.com/apache/activemq-artemis/pull/4648#issuecomment-1761705687
The main details in the new logging are the MQTT client ID as well as the ID for the MQTT `PUBLISH` packet. Neither of these will be available in the audit log. You'd need MQTT protocol logging (i.e. `TRACE` on `org.apache.activemq.artemis.core.protocol.mqtt.MQTTUtil`) to be active. I considered putting this new logging on that same logger, but ultimately I didn't. What do you think about using the same logger as the protocol trace? Thinking about it more now it seems like a natural fit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org