You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2024/11/12 05:25:00 UTC

[jira] [Created] (ARTEMIS-5149) Explore the idea of a "drop-rate" for an address

Justin Bertram created ARTEMIS-5149:
---------------------------------------

             Summary: Explore the idea of a "drop-rate" for an address
                 Key: ARTEMIS-5149
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5149
             Project: ActiveMQ Artemis
          Issue Type: Task
            Reporter: Justin Bertram
            Assignee: Justin Bertram


Consider a use-case where it is known that more messages are coming into the broker than consumers can reasonably handle (e.g. due to network or CPU constraints) and the nature of the messages are such only a certain percentage of those messages really need to dispatched to consumers. For example, an MQTT use-case where IoT devices are sending lots of duplicate sensor readings over a long period of time. In this case it would be OK to simply drop 75% of the incoming messages and route the remaining 25% to consumers. The consumers wouldn't have every details, but they'd still be able to identify general trends in the data.

Explore the idea of adding a new {{address-setting}} called {{drop-rate}} that would simply drop a percentage of the messages send to an address.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact